sorry if this question has already been answered, but I'm using the Kotlin/Js inspection plugin and in the generated Kotlin/React project it is saying that the data class which extends state should be an external interface. The most up to date docs show it as a data class. Is the inspection plugin lagging behind the most up to date docs or should it really be an external interface?
t
turansky
11/17/2021, 8:29 AM
Plain JSO is preferred, for props and state
Otherwise behaviour is unexpected
turansky
11/17/2021, 8:32 AM
Also function components are preferred (future is here)