JavaScript for React

What if we tailored the JavaScript syntax for React? People have imagined many JavaScript syntax extensions designed for React.

  1. Flow's Component Syntax
  2. Flow's Hook Syntax
  3. @hd_nvim's Proposal of Effect Syntax
  4. My Idea of State Syntax

I implemented an editor that supports these syntaxes using CodeMirror and its extensible lezer parser.

by @chengluyu