Zaid-Ajaj/Feliz

ReactMemoComponent attribute and displayName

lukaszkrzywizna opened this issue · 0 comments

Currently, using ReactComponent causes generating component with displayName set to component's name (JS function name):
image
However, this is not the case for ReactMemoComponent
image

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?