https://kotlinlang.org logo
t

turansky

05/14/2022, 10:23 AM
Automatic
displayName
for React components and context on board! Supported factory methods: •
FC
VFC
createContext
Example:
Copy code
// JS: App.displayName = 'App'
//  will be added by plugin 
val App = VFC {
    + "My app"
}

// JS: UserContext.displayName = 'UserContext'
//  will be added by plugin 
val UserContext = createContext<User>()
Supported platforms: Legacy
💯 2
❤️ 4
👍 2
👍🏼 1