Replies: 1 comment 2 replies
-
That's due to the underlying
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I encountered a situation where I had to pass a function in state object, but it turns out that you can only pass serializable data in state object, so I had to pass the function as a string and dangerously invoke it with eval() in the receiving component.
Why functions cannot be passed in the state object and what are the implications involved with passing functions? Does it has been ignored deliberately?
Beta Was this translation helpful? Give feedback.
All reactions