[Example breaking] Unable to save the flow
See original GitHub issueWhen I trying to click on the save and restore buttons on this webpage https://reactflow.dev/examples/save-and-restore/ I am not able to see the object being logged into the console.
Also I tried using the example as given here https://github.com/wbkd/react-flow/tree/main/example/src/SaveRestore
I am getting the following error.
localforage.js:1053 Uncaught (in promise) DOMException: Failed to execute 'put' on 'IDBObjectStore': Symbol(react.element) could not be cloned.
at http://localhost:3000/static/js/vendors~main.chunk.js:43466:33
at createTransaction (http://localhost:3000/static/js/vendors~main.chunk.js:43219:11)
at http://localhost:3000/static/js/vendors~main.chunk.js:43451:13
This is the line that is throwing the error var req = store.put(value, key);
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Troubleshooting a cloud flow - Power Automate | Microsoft Learn
Save the updated flow, and then click or tap Resubmit to try the run again with the updated configuration. Other failures. If the...
Read more >Microsoft Power Automate Tutorial - Fixing Broken Connections
Whats up friends!?This week is a quick video to fulfill a Twitter request i had received about making a video on how to...
Read more >Broken connections in Power Automate - SharePains
Apr 11, 2019 Broken Connections in Flow. Broken connections. When you use connectors in Power Automate you may have seen broken connections.
Read more >Customize What Happens When a Flow Fails - Salesforce Help
If your flow contains an element that interacts with the Salesforce database—such as an Update Records element or a Submit for Approval core...
Read more >Fix the InvalidTemplate error in Power Automate - Encodian
Unable to process template language expressions in action" error in ... Use the 'Save As' feature to save your corrupt Flow as a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently I am using a React component as the Label and when saving I get this error, the user had probably done the same thing, how would I go about saving it this way.
I am getting exactly the same error.
I tried to get around it by doing the following in the save function
localforage.setItem(flowKey, JSON.stringify(flow));
and then the below in the load function.
However then it throws me an error:
react-dom.development.js:13413 Uncaught Error: Objects are not valid as a React child (found: object with keys {type, key, ref, props, _owner, _store}). If you meant to render a collection of children, use an array instead.