SolidStart: serialization error when there is a default value in `createSignal`
Hello, I am trying to learn solid with the async resource tutorial: https://www.solidjs.com/tutorial/async_resources but with an api route in the app. The api route is just a simple GET with the same thing.
cause: j [Error]: Seroval caught an error during the parsing process. Error The value [object Function] of type "function" cannot be parsed/serialized.
cause: j [Error]: Seroval caught an error during the parsing process. Error The value [object Function] of type "function" cannot be parsed/serialized.
However, if I start dev mode without a default value, then edit the file after. The hot module reload would successfully compile the component.
I am not sure what could be causing this issue. Preset is cloudflare module as I want to deploy this in cloudflare. I am not sure if this changes anything.
Solid is a purely reactive library. It was designed from the ground up with a reactive core. It's influenced by reactive principles developed by previous libraries.