Full Discussion (React Without JSX, t7 To The Rescue!)

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

code of conduct - report abuse