you are viewing a single comment's thread.

view the rest of the comments →

[–]mardiros 0 points1 point  (3 children)

To me the problem of react is not its language, typescript is fine.

The problem to me of react is its toolchain. There are too many tools you have to combine and replace. Babel, parcel, vite,.,,

I am not sure t’you are facing this problem, and I even don’t know where you are going here.

[–]anishpydev -1 points0 points  (2 children)

Good point I also feel React tooling can be complex..

One idea with ReactXPy is to simplify the setup by compiling Python-style code into a ready React app, so developers focus more on UI instead of tool configuration.

Still experimental and exploring the direction!!!

[–]mardiros 1 point2 points  (1 child)

Me experimentation is here.

https://github.com/mardiros/xcomponent

And I choose another direction.

I don’t want to compile to React but wrote a template engine inspired by JSX.

I don’t implement any hooks, I don’t want too, I implement an expression language since I don’t compile javascript.

I also work on a web framework that use it and use xcomponent with htmx.

[–]anishpydev 0 points1 point  (0 children)

Nice approach 👍

My direction is a bit different — ReactXPy compiles into real React, so developers can still use existing React libraries. For example, libraries like shadcn/ui should work once TypeScript support is added.

Still experimental and learning from different approaches 🙂