DEV Community

Discussion on: JSX on the Backend?!

Collapse
 
schniz profile image
Gal Schlezinger

Almost. Don't forget you can actually code in JS with it, and pass functions. It's not static XML, it just smells like it. ;P

Doing something like React Router can actually work:

<Route render={match => `Hello ${match.params.name}`} />