jpsca / jinjax

Server-Side Components with Jinja
https://jinjax.scaletti.dev/
MIT License
230 stars 14 forks source link

Support for mounting React components #53

Closed buremba closed 1 week ago

buremba commented 3 weeks ago

Thanks for creating the library! Is there any plan to integrate with React? I was thinking it would be a good alternative to MDX, where we can mount React components. MDX's control flow is based on JSX and as Jinjat already covers these use cases, Jinjax has the potential to fill the gap for engineers who know Jinja + Python building web apps.

utenma commented 3 weeks ago

not sure what mounting React components means in this context, but React is very different from a template language, the only thing in common with jinja/jinjax may be a superficial similarity like the HTML like component syntax

on the other hand there are already markdown/jinja solutions, for instance mitsune