8000 Releases · ryanbliss/retree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: ryanbliss/retree

Preview 0.1.3

14 Jul 10:01
Compare
Choose a tag to compare
Preview 0.1.3 Pre-release
Pre-release

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 during forEach 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

13 Jul 11:09
Compare
Choose a tag to compare
Preview 0.1.2 Pre-release
Pre-release

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 or useTree hook

Full Changelog: 0.1.1...0.1.2

Preview 0.1.1

11 Jul 08:42
Compare
Choose a tag to compare
Preview 0.1.1 Pre-release
Pre-release

Released preview version of @retreejs/core and @retreejs/react packages to npm.

Give it a try and let me know what you think!

0