- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I've been working on a similar userland API for concurrent store and @thejustinwalsh and I just had a chance to catch up about joining forces. My exploration can be found here:
Just to recap next steps from our meeting this morning:
- Port test cases from my test suite to this repo (some may fail, especially the selector ones)
- Assuming we feel convinced the provider component is needed, adopt the strategy used in my prototype in this repo
- Adapt the prototype to support passing the store as an argument to the hook. We can start with restrictions like: "It's an error to change the store of an already mounted hook" and "It's an error to create stores while the provider is mounted"
- Investigate unneeded renders when state does not change. Can we find a way to avoid calling setState when the value should not result in a new render?
evanyeung
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request