Posts under react
How to fix - this.setState is not a function error in React
Abhishek EH | Jan 21, 2022 | 3 Min Read
Guide on why this.setState is not a function error or Cannot read properties of undefined (reading 'setState') occurs and explanation on how to fix the error in 2 different ways.
How to deploy React application to AWS Amplify (Amazon Web Services)?
Abhishek EH | Jan 9, 2023 | 3 Min Read
Tutorial on how to create a Project in AWS Amplify, integrate the project from git and deploy static react apps created using created react app to AWS amplify. Also, how to configure a custom domain.
How to deploy React application to Google Cloud (App Engine)?
Abhishek EH | Jan 9, 2023 | 5 Min Read
Tutorial on how to create a Project in Google Cloud, Deploy React app created using Create React App to Google App Engine and configure a custom domain
What are three dots (...) or spread operators in React
Abhishek EH | Jan 8, 2022 | 4 Min Read
Invariant Violation: Objects are not valid as a React child
Abhishek EH | Apr 1, 2023 | 3 Min Read
Article on possible scenarios where 'Objects are not valid as a React child' error would occur and how to fix them.
How to fix React Hook warnings for async functions in useEffect
Abhishek EH | Dec 21, 2021 | 2 Min Read
Guide on how to fix the warnings 'useEffect function must return a cleanup function or nothing' and 'Effect callbacks are synchronous to prevent race conditions. Put the async function inside'.