5 ms·
Just to clarify, you'd write the bottom code (declarative) and the library translates it to the above (imperative) code?
by cjonas 1y ago
Just to clarify, you'd write the bottom code (declarative) and the library translates it to the above (imperative) code?
- MortyWaves 1y agoThat’s right
- cjonas 1y agoAre there any guides on using the "react style" framework (JSX / State) to generate outputs other than DOM? I've been interested in the idea of doing something similar for JSON or markdown document generation.
- cwackerfuss 1y agoI don't have a good guide for you, but this is the lib you use to create custom React renderers: https://www.npmjs.com/package/react-reconciler https://www.npmjs.com/package/react-reconciler
- atoko 1y agoI’m working on the documentation, but I have a useful implementation of <GithubActions > JSX: https://github.com/levicape/fourtwo https://github.com/levicape/fourtwo The best way to use template JSX is either with a CLI, or by using #! pragma to output the constructed yaml after using a builder.