Skip to content

Make react components protected methods of CommentWidget #142

@cameron-toy

Description

@cameron-toy

If someone wants to change a single piece of a comment widget (the timestamp, for example) they have to completely re-write the render method of whatever class they have extending CommentWidget.

However, if all the react components that make up a comment widget are moved into protected methods of CommentWidget, only a single component method needs to be overridden (renderTimestamp, for example).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions