yznts / kyoto

Asynchronous frontends with Go
https://pkg.go.dev/github.com/yznts/kyoto/v3
MIT License
651 stars 28 forks source link

Concept: kyoto.ComponentF[...] is not serializable #142

Closed yznts closed 2 years ago

yznts commented 2 years ago

It's not possible to use actions on components with nested components, because state becomes non-serializable. Need to bypass this limitation somehow.

yznts commented 2 years ago

Possibly use MarshalJSON and UnmarshalJSON for ComponentF