acdlite/react-remarkable

Remove dangerouslySetInnerHTML

Open

#8 aperta il 14 ott 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (57 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (455 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Was quite enthused to see this but turned out to be a wrapper. Is there any possibility of adding true React support via AST, along the lines of https://github.com/rexxars/react-markdown ?

That is the "correct" approach. React does DOM diffs, so with ASTs it will only render the changed parts instead of re-rendering everything like right now this repo does, which brings perf and other improvements.

Guida contributor