mobx-react-lite support pass displayName. #2649
Replies: 1 comment 1 reply
-
You can use a named function instead.
…On Fri, 27 Nov 2020, 17:39 Janry, ***@***.***> wrote:
like this..
const MyComponent = observer(()=>{
return <div>Hello World</div>
},{
displayName:"MyComponent"
})
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2649>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBE74HIMCZRS3MBIROLSR7P4DANCNFSM4UFFD5HA>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
danielkcz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
like this..
Beta Was this translation helpful? Give feedback.
All reactions