From 3c288e643baa56cdbfd1815f70825af5dab4bcf3 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 4 Feb 2024 17:33:03 +0100 Subject: [PATCH] chore(changeset): add --- .changeset/odd-months-clap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/odd-months-clap.md diff --git a/.changeset/odd-months-clap.md b/.changeset/odd-months-clap.md new file mode 100644 index 00000000..83f323fe --- /dev/null +++ b/.changeset/odd-months-clap.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/core": patch +--- + +When updating nodes or edges by overwriting the original array, update the nodes and edges in the state by using them as the target for `Object.assign`. This keeps reference in-tact and ensures reactivity when these objects are changed/updated