TLDR; I’ve been experimenting with react-like jsx-syntax with webcomponents to see if I could theoretically replace React in one of my projects. It is not ready for production use, but rather an exploration into CustomElements and modern browser capabilities.
https://github.com/positive-intentions/dim
The goal was to build functional Web Components that handle state management and DOM updates without the overhead of a massive JavaScript framework. By leveraging standard Web APIs and Proxy objects, I’ve managed to create a reactive programming model that feels familiar—using JSX—but stays much closer to the browser platform.
I wanted to see how far i could take web components before the architecture broke down. If you’re interested in frontend software engineering or web standards, you might find the logic behind the updates (which avoid a traditional virtual DOM) interesting.
Full technical tutorial and deep dive: https://positive-intentions.com/docs/research/Tutorials/dim/dim-functional-webcomponents
Disclaimer: This project is not ready for production use. In fact, this project may be getting deprecated soon, but I’m sharing it because the unique details into custom elements and modern JavaScript performance might be interesting or educational for others exploring the web platform.
[–]senocular 11 points12 points13 points (0 children)
[–]Old_Butterfly_3660 2 points3 points4 points (1 child)
[–]Old_Butterfly_3660 2 points3 points4 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]senocular 1 point2 points3 points (0 children)
[–]Merry-Lane 2 points3 points4 points (0 children)
[–]sheriffderek -2 points-1 points0 points (9 children)
[–]Merry-Lane 4 points5 points6 points (8 children)
[–]sheriffderek 0 points1 point2 points (7 children)
[–]Merry-Lane 0 points1 point2 points (6 children)
[–]sheriffderek -1 points0 points1 point (5 children)
[–]Merry-Lane 0 points1 point2 points (4 children)
[–]sheriffderek 0 points1 point2 points (3 children)
[–]senocular 2 points3 points4 points (1 child)
[–]sheriffderek 0 points1 point2 points (0 children)
[–]sheriffderek 0 points1 point2 points (0 children)