Home > References > Web Development

References - Reactjs references

Discuss Reactjs best practices and quick tips and tricks. Each topic covers solutions for potential development challenges in Reactjs projects.
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
June 9, 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
November 9, 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.
June 13, 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
June 16, 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
June 19, 2022
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
June 25, 2022
Conditional classes and styles in React js

Conditional classes and styles in React js

This article describes several different approaches to applying styles in different situations
July 5, 2022
Scroll to top on page transition in React js

Scroll to top on page transition in React js

This article describes how to scroll to page top on page transitions in React js
July 10, 2022
How to use JQuery with React JS and Next JS

How to use JQuery with React JS and Next JS

2 ways to use JQuery with React JS and Next JS
July 10, 2022
How to access url parameters in React Js

How to access url parameters in React Js

How to access url parameters with useParams hook in React Js
July 11, 2022