Closed ulic75 closed 1 year ago
Qwik Runtime
I have a store that is a complex object that has properties with are of type Date, when I try to manipulate the object in useTask$ I receive an error Target must be a serializable object
Date
Target must be a serializable object
https://stackblitz.com/edit/qwik-starter-ugs6ea?file=src/routes/index.tsx
Removing the .filter()
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 7.17.0 - /usr/local/bin/npm npmPackages: @builder.io/qwik: 0.17.5 => 0.17.5 @builder.io/qwik-city: 0.1.0 => 0.1.0 undici: ^5.16.0 => 5.16.0 vite: ^4.0.4 => 4.0.4
See Manu's comment
Start a new pull request in StackBlitz Codeflow.
Which component is affected?
Qwik Runtime
Describe the bug
I have a store that is a complex object that has properties with are of type
Date
, when I try to manipulate the object in useTask$ I receive an errorTarget must be a serializable object
Reproduction
https://stackblitz.com/edit/qwik-starter-ugs6ea?file=src/routes/index.tsx
Steps to reproduce
Removing the .filter()
System Info
Additional Information
See Manu's comment