Immutable States Done Right with Immer
This blows me away, just like Zustand which makes state management very simple immer implements immutability in the way it had always wanted to be implemented.
This blows me away, just like Zustand which makes state management very simple immer implements immutability in the way it had always wanted to be implemented.
State management in react as it is most commonly spread among devs is suboptimal, I would say. I just looked up my first react app, it's from 2014 and we used react to make working with HTML in a "normal" DOM based page easier and code more readable. React didn't control all the page. We used jQuery to animate between the pages, where each page was a react component. Nowadays a react app tries to get the entire app to be react as quickly as possible. Has it turned around, against us?
Finally I learned how to abort a fetch, see the post React useEffect and fetch API by @Jaime.
I am currently working on a React Native app that uses redux saga heavily. My main concern with it is the traceability of code that goes together, the modularization. It is hard, if not impossible to know what belongs together, what is needed in combination with what.
Theme.AppCompat
is supplied by the Android Support Library
When I started digging into the styles.xml
file of our React Native app I found XML like this:
This is JS (and) Crafting #6 - April 3rd, 2017. Every Monday you will receive a hand-selected collection of links about JavaScript and how to craft better software. Let's get started ...
This is JS (and) Crafting #5 - March 27th, 2017. Every Monday you will receive a hand-selected collection of links about JavaScript and how to craft better software. Let's get started ...
Sometimes I stumble over commenting out a part in my JSX template. And I am always again looking for how to do that {#
or {--
or what do I know.
Actually we are currently discussing and evaluating to use react or alike and this react lifecycle comes in perfectly and somehow also makes the point stronger that a well documented, cared and widely used project is a good thing to be using. Decided!