What is TSRX?: What JSX would look like if it were designed today
SMRTR summary
TSRX (TypeScript Render Extensions) is a new source language by Inferno.js creator Dominic Gannaway that adds first-class control flow to React templates via directives like @if, @for, and scoped blocks. Its standout feature automatically isolates hooks inside conditionals by generating child components at compile time, eliminating manual component splits. It targets React, Preact, Solid, Vue, and Ripple, but remains early-stage beta software.
SMRTR provides this summary for quick context. The original article belongs to LogRocket.
Read the original article