ReactMemoComponent attribute and displayName
lukaszkrzywizna opened this issue · 0 comments
lukaszkrzywizna commented
Currently, using ReactComponent
causes generating component with displayName
set to component's name (JS function name):
However, this is not the case for ReactMemoComponent
Regarding https://julesblom.com/writing/component-displayname Feliz would have to:
- Use named function declaration as a memo's parameter
or - Set
displayName
manually.
Is this something possible to implement?