You have a lot of queries and mutations, but you don’t have a plan to keep them organized…?

Photo from Unsplash
General usage of useQuery


How to implement Optimistic UI for insert/update/delete GraphQL mutations with React Apollo?

Photo from Apollo Blog


Implement Optimistic UI for insert/update/delete mutations with React Query


What is Optimistic UI? And how can you use it to achieve a better user experience (UX)?

Photo from Smashing Magazine


What does the useImperativeHandle hook do exactly…?

function FancyInput(props, ref) { const inputRef = useRef(); useImperativeHandle(ref, () => ({ focus: () => { inputRef.current.focus() } })); return <input…

Mehdi Namvar

Frontend Engineer (Javascript / React / React Native)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store