Get the latest tech news

Please Stop Reinventing JSX


Please stop reinventing JSX. GitHub Gist: instantly share code, notes, and snippets.

It really grinds my gears when I see this pattern, in particular navigation bars and sidebars seem to attract it: For example, in React Router the use of data APIs is essentially moving away from the JSX'ified<Route> pattern. We don't need to create yet another layer of abstraction because we have a perfectly suitable (and also mandated by the framework) one in front of us: JSX.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Reinventing JSX

Reinventing JSX