acdlite/react-remarkable

Remove dangerouslySetInnerHTML

Ouverte

#8 ouverte le 14 oct. 2015

 (1 commentaire) (0 réaction) (0 personne assignée)JavaScript (57 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (457 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur