Join Slack
Powered by
Are value classes safe to use in kotlin/js for 1.6...
# javascript
j
Jim
03/22/2022, 6:16 PM
Are value classes safe to use in kotlin/js for 1.6.10?
k
Karel Petránek
03/22/2022, 6:25 PM
They are still experimental and cannot be `@JsExport`ed. You can use them for internal stuff but there could be bugs or inconsistencies.
t
turansky
03/22/2022, 6:47 PM
I use it - no problems detected
👍 3
j
Jim
03/22/2022, 7:12 PM
Awesome that's great news, thanks!
t
turansky
03/23/2022, 6:18 AM
If you will use it in react props - memorization required to avoid redundant renders
turansky
03/23/2022, 6:20 AM
Serialization also works in legacy with additional plugin
Open in Slack
Previous
Next