github bcakmakoglu/vue-flow v1.33.0

latest releases: @vue-flow/core@1.41.2, v1.41.2, v1.41.1...
7 months ago

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

Don't miss a new vue-flow release

NewReleases is sending notifications on new releases.