Skip to content

Separate interface and types #4

@npeham

Description

@npeham

Use interfaces only if it makes sense like you need to extend from or you implement it somewhere(= strategy pattern). For props or state use type instead.

For better understanding see this issue and read this article.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions