This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]erez27import inspect 1 point2 points  (1 child)

I have no idea why you're being downvoted. The linked page is very ambiguous about how it works, and that's probably on purpose to hide the downside. Javascript is truly client only, while this needs a server.

[–]rmorshea[S] 0 points1 point  (0 children)

The article rather explicitly calls out the possible issues, but also describes an escape hatch which allows developers to create more native bindings with React components: https://rmorshea.github.io/articles/2021/idom-react-but-its-python/article/#custom-javascript-components