-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Derived class, Effect class, multi-store batching
* feat!: initial work on adding derived signals * chore: add tests to derived state * fix: add cleanup edgecase * fix: edgecase where using derived and store for base * docs: update docs link * chore: refactor derived class * chore: further refactors * chore: refactor work to make things a bit cleaner * chore: minor renaming and cleanup * chore: add initial benchmarks * chore: add Angular * chore: update benchmark package versions * chore: fix ci * chore: move to proper derived store * fix: avoid issues with what signal is being written * chore: ignore benchmark file in test coverage * chore: rename TSX to TS * feat: add Effect * Fix eslint, sherif, and knip * chore: migrate from forEach to for of loop * ci: apply automated fixes * improve Vue performance (#122) * feat: add lazyness to derived (#109) * feat: add lazyness to derived * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore: migrate to options object over positional arguments * ci: apply automated fixes * chore: fix sherif * docs: add autogenerated docs for effect and derived * chore: migrate derived and effect to have cleanup and mount as distinct steps * ci: apply automated fixes and generate docs * feat: add previous and current value to the store * feat: add ability to track previous and new values of deps * ci: apply automated fixes and generate docs * chore: fix build * ci: apply automated fixes and generate docs * feat: add ability to get previous value from derived fn * ci: apply automated fixes and generate docs * feat: add proper typings to derived state * ci: apply automated fixes and generate docs * chore: fix potentially faulty TState inferencing * ci: apply automated fixes and generate docs * chore: fix usage for TypeScript 4.9 * ci: apply automated fixes and generate docs * chore: fix knip * chore: more work to support TS5 * chore: fix usage of import and require type * chore!: drop TypeScript 4.9 support * ci: apply automated fixes and generate docs * fix: prevState now works as intended * chore!: remove store.batch, add in temporary scheduler, skip intentionally broken tests * ci: apply automated fixes and generate docs * chore: add working unregister from graph * chore: hooman attempt * chore: cursor attempt * chore: code cleanup and add back batch tests * chore: fix listener recieving old values * chore: fix laziness * ci: apply automated fixes and generate docs * chore!: fix timings and temporarily(?) remove lazy prop * ci: apply automated fixes and generate docs * chore: migrate useStore in React to support Derived values stores as well * ci: apply automated fixes and generate docs * chore: fix CI tests * chore: add Angular store Derived support * ci: apply automated fixes and generate docs * chore: fix issues with Solid store tests * ci: apply automated fixes and generate docs * chore: fix useStore from Vue * ci: apply automated fixes and generate docs * chore: svelte works with useStore now * ci: apply automated fixes and generate docs * chore: add demo of useStore working as-intended * chore: fix CI * fix: issues with unmounting and remounting derived values * ci: apply automated fixes and generate docs * chore: add failing tests * fix: issues with out-of-order mounting should be fixed * ci: apply automated fixes and generate docs * chore: add tests * ci: apply automated fixes and generate docs * chore: add another failing test * ci: apply automated fixes and generate docs * chore: initial work to refactor away from Derived having an internal Store * chore: test refactor of Derived to not include a Store * fix: issues with recomputing should now be resolved * ci: apply automated fixes and generate docs * chore: add failing test * ci: apply automated fixes and generate docs * fix: add fix to broken test * ci: apply automated fixes and generate docs * fix: batched values do not break prevDepVals and currDepVals anymore * chore: fix CI * ci: apply automated fixes and generate docs * docs: finish vanilla JS quick-start guide --------- Co-authored-by: Lachlan Collins <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Zain Wania <[email protected]>
- Loading branch information
1 parent
38ab8d3
commit 4c5a3cb
Showing
61 changed files
with
2,492 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.