Home Page
Recently Added
How to fix - objects are not valid as a react child
How to fix - objects are not valid as a react child
This article takes an in-depth look into practical situations where this invariant error can occur
25 June 2022
Fix for Next.js ReferenceError window is not defined
Fix for Next.js ReferenceError window is not defined
This article explains how to fix the window not defined ReferenceError in Next.js and Nodejs. Also applicable for React.js.
23 June 2022
if-else statement inside jsx
if-else statement inside jsx
This article explains how React translates JSX elements and how to use if-else statements in JSX elements
19 June 2022
SyntaxError: Unexpected token < in JSON at position 0
SyntaxError: Unexpected token < in JSON at position 0
This article demonstrates several JSON parsing errors with code examples
17 June 2022
How to post form data with axios
How to post form data with axios
This article explains how to submit a form using axios. In other words, how to make a post request axios
16 June 2022
How to update a state array in Reactjs
How to update a state array in Reactjs
This article explains the proper way to update an array stored as a state variable. We also discuss how not to update a state array.
13 June 2022
How to update nested state objects in Reactjs
How to update nested state objects in Reactjs
This article explains how to update nested state objects and arrays in Reactjs
12 June 2022
Each child in a list should have a unique key prop
Each child in a list should have a unique key prop
This article explains about the React warning when you render a list of elements without a key for each element
9 June 2022
React useState set method does not reflect the change immediately
React useState set method does not reflect the change immediately
This article explains the reason React useState set method does not reflect the change immediately
5 June 2022
How to Programmatically navigate using React router
How to Programmatically navigate using React router
This article explains how to navigate the React router programmatically with examples in react-router-dom v5 and v6
4 June 2022