Skip to content

v1.33.0

Compare
Choose a tag to compare
@bcakmakoglu bcakmakoglu released this 21 Feb 22:28
· 74 commits to master since this release

What's Changed

Minor Changes

  • #1323 ed4ccf4 Thanks @bcakmakoglu! - Add node id and node type to return of useNodesData.

    鈿狅笍This is a small breaking change from the previous implementation!

    Previously you would only receive the data object back, now you will receive an object with the data and the node id and type.

    const nodesData = useNodesData(nodeIds);
    
    // Previously
    nodesData.forEach((data) => {
      // ...
    });
    
    // Now
    nodesData.forEach(({ id, type, data }) => {
      // ...
    });

Patch Changes

New Contributors

Full Changelog: v1.32.1...v1.33.0