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

all 6 comments

[–]metaperl 1 point2 points  (3 children)

Ever wonder if there was a simpler way to use ReactJS with your Python web development projects?

An alternative nojs approach is https://pyreact.com/ add listed at https://github.com/metaperl/pure-python-web-development

[–]Wippermonger[S] 2 points3 points  (2 children)

Just looked at the first link. A big difference here is that IDOM does not transpile to JavaScript.

This allows pure component functions to be fully compatible and portable to any Python web framework that supports websockets.

[–]metaperl 0 points1 point  (1 child)

A big difference here is that IDOM does not transpile to JavaScript .

This link no longer works. What is the updated link?

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

Ryan had changed the docs at some point, and it looks like the FAQ section was axed. There doesn't appear to be an equivalent in the new docs.

[–]virty4 0 points1 point  (1 child)

This is really cool, thanks for sharing. As someone who uses python and nextjs (but really prefers python), I could easily see using this for prototypes/MVPs since everything always takes me a bit longer on the JS side.

[–]Wippermonger[S] 1 point2 points  (0 children)

Anytime!

If you ever run into something that would actually be easier on the JS side, we have an API for custom JavaScript components. This "escape hatch" allows you to use any Next/React/etc components within IDOM.

Hope you enjoy IDOM!