Are value classes safe to use in kotlin/js for 1.6...
# javascript
j
Are value classes safe to use in kotlin/js for 1.6.10?
k
They are still experimental and cannot be `@JsExport`ed. You can use them for internal stuff but there could be bugs or inconsistencies.
t
I use it - no problems detected
👍 3
j
Awesome that's great news, thanks!
t
If you will use it in react props - memorization required to avoid redundant renders
Serialization also works in legacy with additional plugin