Skip to content

Releases: ctrlplusb/react-tree-walker

v4.3.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 13 Aug 11:54

Minor Changes

  • Add support for React.forwardRef: 7cd93e0
  • Add tests for React.forwardRef: 0d9f69e
  • Merge pull request #39 from bartlangelaan/master: e2e64e3

Huge thanks to @bartlangelaan for the help in adding an awesome new feature. ⭐️

v4.2.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 10 Jul 11:22

Minor Changes

  • Adds support for UNSAFE_componentWillMount and getDerivedStateFromProps.: 2e43996

v4.1.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 19 Jun 14:34

Minor Changes

  • Adds support for the new React context API: d01459d

Patches


Huge thanks to @dan-lee for the work to support the new React context API, and to @ewolfe for being a sharp eye. ❤️

v4.0.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 20 Mar 20:53

Huge rewrite/refactor of the library!

Major Changes

  • componentWillMount now gets executed before the visitor. This should allow for better initialized instances being passed into the visitor. This likely won't affect you, but it is good to be made aware of this change. Fixes the manner in which context is passed down the tree.: ef75192

Minor Changes

  • Adds support for Preact (including "native" Preact - i.e. without preact-compat): ef75192
  • Adds support for React's "Portals" feature.: ef75192

Patches

  • Experimental componentWillUnmount calls now get executed after children resolved, and additionally no longer have their errors swallowed.: 687858c
  • Ensures promise flow calls the componentWillUnmount in the correct order.: e7e049d

v3.0.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 16 Mar 17:48

Major Changes

  • Errors are no longer caught/swallowed internally, leaving error handling to the calling code.: 5677d18

Patches

  • Fixes bug where children were continuously traversed despite a visitor result indicating the desire to stop traversal.: a2d0cb4

v2.2.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 14 Mar 15:14

Minor Changes

  • Support updater function in setState: 4a898bf
  • Support instance-as-result children: 4425daf
  • Merge pull request #20 from eirikurn/setstate-updater: afdd277
  • Merge pull request #23 from dvkndn/fix-instance-as-result: 8d8c74b

2.1.3

Choose a tag to compare

@ctrlplusb ctrlplusb released this 11 Oct 07:34

Patches

  • Adds react 16 as being supported.: 1b1132b

2.1.2

Choose a tag to compare

@ctrlplusb ctrlplusb released this 21 Jun 15:24

Patches

  • Fix issue with nested children, update unit tests, close #9: 387a9e9 (thanks @grxy!)

2.1.1

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 14:25

Patches

2.1.0

Choose a tag to compare

@ctrlplusb ctrlplusb released this 06 Apr 11:10

Minor Changes

  • Experimental Feature: Extends the tree walker with an options paramater allowing you to define whether componentWillUnmount should be called or not.: 98733da