Avoiding unexpected calls from useEffect on re-renders with useCallback and useRef approaches
passing callbacks from one component down to another on props is a cause of unexpected multiple calls on re-renders

Search for a command to run...
Articles tagged with #reactjs
passing callbacks from one component down to another on props is a cause of unexpected multiple calls on re-renders

Today will talk about how to handle complex translations with HTML elements in the middle with NextJS Intl . Prerequisites Would assume you have heard already about NextJS Intl or a similar library. If not, take a look at the link added previously. ...

Lazy loading is an approach to load incrementally parts 馃殌 of your app, these could be a route component that is not used often or even a component that depends on heavy dependencies, we'll focus on these 2 use cases. FYI: there is part of this API...

Prismic tools abstract the CMS queries making development a bit faster

An accordion is a perfect case where you have a centralized state that needs to be shared across each of the accordions panels

If you talk to a man in a language he understands, that goes to his head. If you talk to him in his own language, that goes to his heart. 鈥擭elson Mandela In this blog post we'll go through using NextJS translations with i18-next library, but is poss...
