DEV Community

Discussion on: React Without JSX, t7 To The Rescue!

Collapse
 
ryaninvents profile image
Ryan Kennedy

This is really neat! Lately I've been looking for an example of a "partial" parser (parser that is aware of "holes" such as template interpolations or a user's cursor in an input field) and this is a great one πŸ˜ƒ

Small note, I think there's an interaction between the template string syntax and the dev.to markdown parser affecting the style attributes in your post:

`style` attribute values are missing the double-curly-braces in both examples