Community proposals for bringing Single File Components to React.
Example implementations:
- swyx: https://github.com/react-sfc/react-sfc-swyx
- https://github.com/digitalie/one-loader (HN comments)
- https://github.com/windyGex/react-template-loader (4y old, inactive)
- https://github.com/LukasBombach/single-file-components Vue => React files
- yours?
- vue-loader:
- https://vue-loader.vuejs.org/guide/#vue-cli
- vue parseComponent
- vue compiler utils parse
- vue html parsing
- .vue files for React by Lukas Bombach
- reddit discusssions:
- JSX 2.0
- https://www.swyx.io/writing/react-distros/
- The old proposal is in the v1 branch.
File an issue or PR or tweet at me, lets chat.