Last 12 weeks · 0 commits
4 of 6 standards met
Repository: solidjs/react-solid-state. Description: Auto tracking state management for modern React Stars: 212, Forks: 5. Primary language: TypeScript. Languages: TypeScript (94.2%), JavaScript (5.8%). License: MIT. Open PRs: 0, open issues: 3. Last activity: 4y ago. Community health: 75%. Top contributors: ryansolid, edemaine.
Since createStore is supported, but it looks like we can't iterate it under the react context, there is no 'For each' in here right?
TypeScript complains that createEffect should have 2 arguments. I believe the following should work without issue: However, the type definition says that there should be a second argument for a . I'm not sure why this second argument is required or even what it does. Is it a dependency? And if so, shouldn't it be optional since is automatically tracked? Maybe I'm misunderstanding. Thanks!
setting a signal or setting a store does trigger an update of the UI, but its previous value is being rendered instead of the updated value. example with Signal: https://codesandbox.io/s/determined-satoshi-v2xk8?file=/src/App.js example with Store: https://codesandbox.io/s/frosty-silence-syubp?file=/src/App.js