Closed wcastand closed 4 years ago
Yeah, your approach seems fine. There aren't any shortcut functions to do that; it's a pretty custom piece of logic.
I do still keep an eye on it. It's stable and I use it in production everyday, but I can be pretty slow on resolving issues that come up.
Hi, first of all, really nice lib :)
i run into an issue i didn't know how to solve with shades.
i want to udpate my state but i need branching/conditions i received an array:
if
the array contain my new element alreadythen
update that elementotherwise
add the element as a new one.Right now this is what i have(
drop
function):Thank for the help and sorry if that wasn't the right place to ask :/
PS: also since i made an issue, i can see that there is no update in 6 month, is this library still worked on or reached a stable level or unmaintained? :)