Skip to content

Does IDOM support all React components? #358

Answered by rmorshea
Archmonger asked this question in Question
Discussion options

You must be logged in to vote

With respect to components installed with $ idom install or idom.install() there's definitely some limitations that, unfortunately, I haven't really had the time to document yet. In short, all component props have to be JSON serializable, so that's a problem if you need to assign a JS object to a prop. This is a common pattern in Material UI so it's come up a number of times in that context.

That probably won't change though because there is an interface for integrating your own custom components in JS and distributing them as a Python package. However, I have plans to reconsider that soon so I've been hesitant to suggest people use it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants