Skip to content

Releases: jimengio/rex

export useAtom

04 Jun 11:58
Compare
Choose a tag to compare

ignore unused files

29 May 02:55
Compare
Choose a tag to compare

add current getter; remove log

29 May 02:50
Compare
Choose a tag to compare

provide an useAtom hooks API

13 May 11:57
Compare
Choose a tag to compare

Fix initial data reader

10 Jun 09:02
Compare
Choose a tag to compare

Details #18

Also added log to indicated listener is actually working.

Fix return type inferring of useRexContext

20 May 07:37
Compare
Choose a tag to compare

Add DEV_LOG

18 Apr 10:37
Compare
Choose a tag to compare

Run this in Console to turn on logs:

window.REX_DEV_LOG = true;

This version also contains several changes trying to reduce errors. The change it not small, might cause issues.

Added updateAt method

12 Mar 11:40
Compare
Choose a tag to compare

Added syntax sugar .updateAt(...):

globalStore.updateAt("obj", (obj) => {
  obj.a += 1;
  obj.b += 1;
  obj.c += 1;
});

which is short for:

globalStore.update((store) => {
  store.obj.a += 1;
  store.obj.b += 1;
  store.obj.c += 1;
});

Support hooks

11 Mar 12:26
Compare
Choose a tag to compare

Use hooks to simplify the implementation. Also bring hooks support. Check out details in #9 .

Loose deps versions

05 Mar 07:05
Compare
Choose a tag to compare
0.0.7

bump 0.0.7