How to make Signal/Resource do incremental update
Hey peeps,
My app is a bit evolving and it ended up something like this:
https://playground.solidjs.com/anonymous/149dc5aa-a5f4-482e-85ad-727f9f0c2086
I would like to press button and both resource and message updated.
I used to use store instead of resource and it works fine. But I would like to move to resources to make use of its functionalities.
With current resource code, the whole resource get replaced and message is gone. I wonder whether there is a way to make this work?
Cheers,
My app is a bit evolving and it ended up something like this:
https://playground.solidjs.com/anonymous/149dc5aa-a5f4-482e-85ad-727f9f0c2086
I would like to press button and both resource and message updated.
I used to use store instead of resource and it works fine. But I would like to move to resources to make use of its functionalities.
With current resource code, the whole resource get replaced and message is gone. I wonder whether there is a way to make this work?
Cheers,
Quickly discover what the solid compiler will generate from your JSX template
