Is it possible to use CraftJS with Render Props? #529
Answered
by
ismajl-ramadani
martin-dimi
asked this question in
Q&A
-
For instance:
Where |
Beta Was this translation helpful? Give feedback.
Answered by
ismajl-ramadani
May 17, 2023
Replies: 1 comment 11 replies
-
Hey @martin-dimi, what exactly are you trying to achieve? Can you please share just a little bit more context? |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, the issue here is not with craft. The component function as a children part is resolved dynamically and you can't serialize that. I did have a similar problem with the tabs component and I had to change how I implement the underlying component. Here is an example of how I did it: