mdynnl
Should I use reconcile everytime I use produce?
I can use produce utility to work with draft state and this then returns the new immutable state
produce
gives you a proxy to allow you to write imperative mutations and combining with setStore
fine-grainly updates the store
so, while the posted code using reconcile
works fine and sometimes necessary especially when working with api responses
you can use produce
instead so it works like dev's last point5 replies
Uncaught Error: Failed attempt to create new DOM elements during hydration. Check that the libraries
This is likely intentional and solid pipeline should be integrated to whatever setup because there'd be a couple of output formats if you combine it with js output formats i.e 2 (cjs, esm) * 2 (ssr, dom) * 2 (hydratable, normal) so instead we just simply ship the jsx using
solid
export condition and let the solid pipeline handle it32 replies
Uncaught Error: Failed attempt to create new DOM elements during hydration. Check that the libraries
https://github.com/solidjs-community/tsup-preset-solid/blob/f711eb2ceb811986c6cbedea44e3e6d0a12fd5a9/src/preset.ts#L250 doesn't take
hydratable
assuming it kept the same API as babel plugin32 replies