Comment

Comment by xixixao

Redux is far from the suggestion, and imho unless you can greatly benefit from the actions boilerplate its overhead is not worth it.

As others mentioned useImmer is a more bulletproof solution then assuming your state can always be modeled by a single layer Object though.

parent xixixao 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton