Richard
|
e32c62753e
|
perf: optimize sparse array preservation
|
2024-09-26 11:20:27 -07:00 |
|
Richard
|
495139995a
|
fix: return the object if not an array
|
2024-09-26 00:55:50 -07:00 |
|
Richard
|
651b91fbfb
|
perf: optimize sparse array coercion
|
2024-09-26 00:41:57 -07:00 |
|
Richard
|
0b4dd2f53b
|
fix(sync): fill sparse arrays with null
|
2024-09-25 22:10:52 -07:00 |
|
Richard
|
e5f655482f
|
refactor: separate code for preserving history
|
2024-09-25 22:10:19 -07:00 |
|
richard
|
9ba552cb6c
|
fix(sync): block patches before initial hydration (#21)
|
2024-09-20 15:32:20 -07:00 |
|
Richard
|
9329e68a08
|
fix: allow userdata values for sync
|
2024-09-15 18:16:59 -07:00 |
|
Richard
|
81f13eabc7
|
feat: batch sync operations
|
2024-08-18 14:43:29 -07:00 |
|
richard
|
c6762a6525
|
fix: avoid reconnecting to dependencies after cleanup (#14)
* fix: cancel reconnection when unsubscribing
* test: remove print
* feat: allow factory to return nil
* perf: use `next` iteration
|
2024-07-10 15:13:36 -07:00 |
|
richard
|
b68879cafd
|
feat(sync): add preserveHistory option (#12)
* feat(sync): add `preserveHistory` option
* build: omit project json from npm
|
2024-07-08 13:47:50 -07:00 |
|
richard
|
333a86b43f
|
feat: add sync.isNone, fix sync payload type (#11)
* feat: add `sync.isNone`, fix sync payload type
* docs: add `isNone`
|
2024-07-07 01:09:57 -07:00 |
|
richard
|
a5a183c3a6
|
fix: handle sparse array patches (#10)
|
2024-07-05 13:14:07 -07:00 |
|
nonamie
|
a3b9d562b9
|
fix: use shallow copy for state snapshots (#9)
|
2024-06-13 19:31:47 -07:00 |
|
richard
|
6a9c580bd7
|
feat: add effect cleanups, add docs (#2)
* docs: update readme
* feat: add cleanup function to effects
* refactor: move peek function to store module
* test: add nested atom check
* docs: add doc comments
* fix: `effect()` type
* refactor: remove divider comment
|
2024-06-02 01:25:00 -07:00 |
|
richard
|
1a65a4a0de
|
fix: remove atom.debugLabel reference
|
2024-06-01 14:56:44 -07:00 |
|
Richard
|
b715b81fec
|
refactor!: rename derive, map
|
2024-05-26 21:31:28 -07:00 |
|
Richard
|
8ca299f671
|
refactor: code quality
|
2024-04-20 18:48:09 -07:00 |
|
Richard
|
f0a7938703
|
feat: add batch()
|
2024-04-19 01:01:57 -07:00 |
|
Richard
|
f2ec300204
|
fix: apply patches to non-table values
|
2024-03-27 23:49:50 -07:00 |
|
Richard
|
382bc3a904
|
refactor: refine types and code
|
2024-03-27 23:49:33 -07:00 |
|
richard
|
33ecae2f50
|
refactor!: design overhaul (#1)
* refactor!: use atom functions
* docs: reformat api reference
* docs: showcase atom functions
* docs: remove unused import
* refactor: finalize updates
* chore: misc edits
|
2024-03-25 19:53:28 -07:00 |
|
Richard
|
dda00f7a4e
|
feat: add sync typescript types
|
2024-02-29 22:26:39 -08:00 |
|
Richard
|
a30293ee3b
|
refactor: catch validation error with pcall
|
2024-02-29 21:58:04 -08:00 |
|
Richard
|
d8d0c2a1f8
|
feat: add sync validation
|
2024-02-28 21:24:24 -08:00 |
|
Richard
|
17a8c48e54
|
feat: add state sync
|
2024-02-27 22:20:18 -08:00 |
|