Re:Show HN: Render abstract syntax trees using React
by JasonSage on Friday August 30, 2019 @07:09PM
(#20843555)
> I see this project being used as a way to componentize composable code generators and snippets.
You can do this without React though, using only JSX. I've implemented this pattern in a library (not open source yet) that builds in a lot of these composition patterns (pass children as child or prop, etc) so that you can use it in familiar ways while still just being JSX.
You can do this without React though, using only JSX. I've implemented this pattern in a library (not open source yet) that builds in a lot of these composition patterns (pass children as child or prop, etc) so that you can use it in familiar ways while still just being JSX.