Code in a suit
  • Home

React Native

Callbacks and useEffect

Callbacks and useEffect

In the previous article, we talked about using objects in useEffect's deps. Now it's the time to talk about callbacks. In a PR I've revied once I've seen the author implement a component that was responsible for selecting a consultant. It's a good idea to split your code and create
Adam Borek Nov 18, 2022
Objects as useEffect deps

Objects as useEffect deps

Some time ago my company decided to switch from native to React Native. For the last 2 years, I have gathered enough experience (I hope) to be able to say a word or two about React. The first thing I want to cover is a common mistake developers make, even
Adam Borek Nov 7, 2022
Code in a suit © 2023. Powered by Ghost