Skip to content

Commit

Permalink
experimental(core): expose unstable_derive (#2652)
Browse files Browse the repository at this point in the history
* experimental(core): expose unstable_derive instead of unstable_is

* chore: remove empty line

* chore types

* follow resolveAtom in #2609

* store test from #2609

* adjust store.test.tsx for unstable_derive

* limit atom state map type

* add test with atom state map

* update test using unstable_derive

* drop resolveAtom, add derive atom test

* simplify unstable_derive

* wip: this works but i do not like it

* separate atomstate and atomcontext

* for old ts

* fix

* fix 2

* simplify a bit with dev breaking changes

* revert to bd9c6c0, except for new test

* refactor (skipping the new test for now)

* refactor 2

* revert those refactors :-p

* wip: hm, how is bundle size?

* fix tests

* add test for unstable_derive (#2665)

* add a failing test

* wip: failed attempt

* split unstable_derive test

* wip: failed attempt 2

* revert failing tests

* empty commit

* restore unstable_is of now (we will remove it in the later version.)

---------

Co-authored-by: David Maskasky <[email protected]>
Co-authored-by: David Maskasky <[email protected]>
  • Loading branch information
3 people authored Aug 13, 2024
1 parent 41158e6 commit 6b91571
Show file tree
Hide file tree
Showing 2 changed files with 438 additions and 80 deletions.
Loading

0 comments on commit 6b91571

Please sign in to comment.