News for hackers. Stuff that matters.
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit... by acemarke on Friday December 30, 2022 @07:41PM (#34191944)
I would definitely disagree with "Redux is out of fashion". Redux is still by far the most widely used state management lib with React apps, by a very large margin - my estimates are that 35-40% of React apps use Redux, and no other lib appears to be over 10% [0].

We also get a lot of very positive feedback on our modern Redux Toolkit package, which we designed to simplify Redux usage [1], and it includes our "RTK Query" data fetching and caching API as well [2], which is similar to React Query in use case and API.

[0] https://blog.isquaredsoftware.com/2022/07/npm-package-market...

[1] https://redux.js.org/tutorials/essentials/part-2-app-structu...

[2] https://redux-toolkit.js.org/rtk-query/overview

Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit... by gnomewrecker on Friday December 30, 2022 @09:48PM (#34192980)
Mostly things that are very widely used in industry are indeed no longer “in fashion”. Instead they were in fashion and actually proved valuable enough to have staying power (as opposed to most fashionable things that are junk). Charitably, anyway — sometimes it seems you can’t tell why something is still widely used.

Probably the mentioned hooks-based approaches are indeed fashionable now. Remains to be seen whether they’ll stick around.

Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit... by vages on Saturday December 31, 2022 @04:29AM (#34194934)
My team at work has completely rewritten from Redux with Redux Form to Tanstack query and React Hook Form over the past two years, and we don’t miss a single thing about Redux.

We make an app that contacts lots of microservices in sequence and combines the data in many ways. Having automatic refetching, caching and the like by default makes a world of difference.

This is not fashion. It’s quality.

Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit... by michaelcampbell on Sunday January 01, 2023 @07:46AM (#34205871)
See also: COBOL

I don't know if it's still the case but when I started my career (granted, some decades ago) using the new hotness X/Motif + C++, there were still more lines of COBOL around than anything else. (Hell, might not have been the case then, but that was the yarn.)

Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit... by karaokeyoga on Saturday December 31, 2022 @12:16AM (#34193829)
RTK Query is an excellent package! Coming from the React Query world, I inherited an RTK Query project and was initially disappointed, but have come to prefer it over (the also excellent) React Query.