mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 06:00:07 +03:00
Create four-parrots-poke.md
This commit is contained in:
parent
9466c868be
commit
f2638ba66c
8
.changeset/four-parrots-poke.md
Normal file
8
.changeset/four-parrots-poke.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
'react-json-tree': major
|
||||||
|
---
|
||||||
|
|
||||||
|
Remove UNSAFE method from react-json-tree
|
||||||
|
- Replace `shouldExpandNode` with `shouldExpandNodeInitially`. This function is now only called when a node in the tree is first rendered, when before it would update the expanded state of the node if the results of calling `shouldExpandNode` changed between renders. There is no way to replicate the old behavior exactly, but the new behavior is the intended behavior for the use cases within Redux DevTools. Please open an issue if you need a way to programatically control the expanded state of nodes.
|
||||||
|
- Bump the minimum React version from `16.3.0` to `16.8.0` so that `react-json-tree` can use hooks.
|
||||||
|
- Tightened TypeScript prop types to use `unknown` instead of `any` where possible.
|
Loading…
Reference in New Issue
Block a user