umputun/remark42

Improve frontend components structure

Offen

#96 geöffnet am 23.06.2018

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Go (432 Forks)user submission
enhancementfrontendhelp wanted

Repository-Metriken

Stars
 (5.500 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 87T 10h) (18 gemergte PRs in 30 T)

Beschreibung

Right now we have ten components, and most of them a really huge. There must be a way to simplify most of them by means of splitting into smaller components.

For example, comment component right now implements logic for regular comment, for pinned comment, for comment in last comments widget (!), etc. It contains lots of logic about choosing the right way to render. It definitely must be simplified.

Contributor Guide