News for hackers. Stuff that matters.
Re:Clean Front End Architecture with SvelteKit by bayesian_horse on Monday April 17, 2023 @03:35AM (#35597774)
Something like React Query and other hooks based approaches are fine and very useful for certain scenarios. At the end you always need a hook (or something very similar).

But it can lead to defining asynchronous workflows through the nesting of components, controlled by their mounting/unmounting and other state. I much rather have something like RTK Query which lets me both use it in a hook for simplicity and in Thunks or Sagas for more complex things.

There are no comments on this comment yet.