umputun/remark42

Improve frontend components structure

Open

#96 opened on Jun 23, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (432 forks)user submission
enhancementfrontendhelp wanted

Repository metrics

Stars
 (5,500 stars)
PR merge metrics
 (Avg merge 7d) (7 merged PRs in 30d)

Description

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