retejs / rete.js.org

Examples and documentation for Rete.js v1
http://rete.js.org
35 stars 29 forks source link

[BUG] when making a 'module' node, typein the same name of the module iteself will cause the page freeze. #45

Open lancety opened 2 years ago

lancety commented 2 years ago

step to reproduce

lancety commented 2 years ago
"react": "16.8.6",
"react-dom": "16.8.6",
"react-scripts": "3.0.1",
"rete": "1.3.1-rc.3",
"rete-area-plugin": "0.2.1",
"rete-connection-plugin": "0.7.2",
"rete-context-menu-plugin": "^0.6.0-rc.1",
"rete-module-plugin": "^0.4.1",
"rete-react-render-plugin": "0.2.0"
Ni55aN commented 2 years ago

indeed, an additional check is needed to prevent the module from being used recursively