Releases: ryanbliss/retree
Releases · ryanbliss/retree
Preview 0.1.3
New features:
- Added new
ReactiveNode
abstract class, which allows for declaring conditional dependencies from other nodes
Bug fixes & improvements
- Fixed bug with
Retree.runTransaction
- Fixed bug with
unsubscribe
being called duringforEach
loop that triggers emitting a change - Fixed bug with certain event listeners not being cleaned up properly
- Fixed bugs with reparenting nodes
- Sample improvements
- Other changes & fixes
Full Changelog: 0.1.2...0.1.3
Preview 0.1.2
New features
- Added new
Retree.runStilent
function, which allows you to synchronously make changes to objects without triggering re-renders / emits. - Added new
Retree.runTransaction
function, which allows you to synchronously make any number of changes to your objects, limiting the number of emits to one per listener type per node.
Bug fixes & improvements
- Fixed bug when moving object from one key into another within a single object (e.g.,
list.unshift({})
) - Fixed bug when deleting a property from an object
- Minor optimizations to performance
- Fixed bug with mounting a new node into an existing
useNode
oruseTree
hook
Full Changelog: 0.1.1...0.1.2
Preview 0.1.1
Released preview version of @retreejs/core and @retreejs/react packages to npm.
Give it a try and let me know what you think!