Menu

Why TSRX Gives Me PHP Flashbacks
📰

Why TSRX Gives Me PHP Flashbacks

DEV Community·Alex Saft·7 months ago
#2xAoUryP
#webdev#solidjs#react#typescript#solid
Reading 0:00
15s threshold

For the past few days, the frontend community has been buzzing about a potential successor to JSX: TSRX . It was created by Dominic Gannaway( @trueadm ) the creator of Inferno & Ripple, and former React and Svelte core team member. It is available today as an Alpha for React, SolidJS, and Ripple.

And Ryan Carniato has already written a detailed piece on it.

I decided to take a look at it myself, and honestly, my feelings are mixed.

On one hand, the problem it tries to solve is painfully familiar. In complex components, JSX can quickly devolve into a spaghetti of {condition && ...}, .map(...), nested callbacks, and a sea of brackets rendering themselves.

At first glance, TSRX feels like a breath of fresh air.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.