Morphy
Morphy
SSolidJS
Created by Morphy on 4/18/2024 in #support
`onClick` delegated event fires wrong handler
Btw this happens in android firefox and using the native on:click fixes it
2 replies
SSolidJS
Created by Morphy on 4/17/2024 in #support
Reactive field inside objects of an array
Now that I thought about it more I realized that I don't need to update the Cart itself when count changes in any of the items
14 replies
SSolidJS
Created by Morphy on 4/17/2024 in #support
Reactive field inside objects of an array
Yes but even if I use setStore as a primitive I have to wrap both Cart and CartItem into another type and do some weird stuff that complicates the code unnecessarily.
14 replies
SSolidJS
Created by Morphy on 4/17/2024 in #support
Reactive field inside objects of an array
The first way is actually what is intended here In a cart You show items individually and its enough to just react to changes of that item and not update the array itself. we only update the array when length of it changes which makes sense
14 replies
SSolidJS
Created by Morphy on 4/17/2024 in #support
Reactive field inside objects of an array
Which I don't want to do. The goal here is to have an intuitive api for Cart and CartItem
14 replies
SSolidJS
Created by Morphy on 4/17/2024 in #support
Reactive field inside objects of an array
with increment and decrement
14 replies