fix(svelte) prevent unecessary rerenders & execution of reactive statements, closes #3336
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
<svelte:options immutable />
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { createEventDispatcher } from 'svelte';
|
import { createEventDispatcher } from 'svelte';
|
||||||
import { getMarkerId } from '@xyflow/system';
|
import { getMarkerId } from '@xyflow/system';
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<svelte:options immutable />
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import {
|
||||||
createEventDispatcher,
|
createEventDispatcher,
|
||||||
|
|||||||
Reference in New Issue
Block a user