Stimulus Discourse

JSX + Stimulus = <3

I just wanted to show a library I am maintaining to make it possible to use JSX and Stimulus together. All details in this blogpost.

I am using this heavily in my projects and loving it so far.

Would love any comments or suggestions on how to make it even better for you all <3

2 Likes

Wow, this looks cool! I like the idea of a Stimulus controller with a few different targets being able to tweak server-rendered HTML in some places and dynamically insert JSX in others. Feels like a solid step along the path of “progressive enhancement”.

Exactly. The projects I am building are all usable without Javascript and with JSX and Stimulus I just swap out elements with JS improved versions if needed. You can see it working in the search bar on SignDict.org or on Wishlephant.

1 Like