|0.5.27||Mar 6, 2023|
|0.5.26||Aug 20, 2022|
|0.5.24||Jul 30, 2022|
#1024 in Parser implementations
716 downloads per month
Used in 3 crates
A very very fast HTML to React transformer
View the initial root folder for more info.
HTML to react transformer
htr is a fast html to react transformer that uses btrees to search and replace html properties to the react equivalent.
How to use htr
There are two ways to use htr:
- Convert props React transform html string to a react string.
convert_props_reactis used to transform :blocking.
- Convert to React Lets you transform the html to a react component.
convert_to_reactis used to transform :blocking.
First, you will need to add
htr to your
Next, add your html to one of the transform methods to get your react, output.