adrianhajdin / project_professional_portfolio

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a real time chat application. Covered topics: React.js, SCSS, Framer Motion, Sanity
https://jsmastery.pro
2.07k stars 496 forks source link

My react application goes blank everytime I reload it and is showing the following issues on the console. Can anyone please help me to figure them out? #28

Open radhika-020 opened 2 years ago

radhika-020 commented 2 years ago

Screenshot (47)

Orsten commented 2 years ago

Having kinda similar issues. Do know how, but kinda resolve this, by switching ReactDOM.render to createRoot (cause of react 18)

createroot and updated backend_sanity (deleted old and create new)

kirbster6 commented 2 years ago

I am also having this issue, I was able to fix the ReactDOM issue, though the imgURLBuilder is still causing me issues. Not sure how to fix it.

BATspock commented 2 years ago

Did you guys figure it out? I was facing the issue of application going blank. It was because I directly copied client.js from the repo. I changed my client.js and now its working fine.

rahulmore01 commented 2 years ago

// find bellow line of code in Skills.jsx // { experience.works.map((work)=>(

//make () => this small change as shown bellow.
{() => experience.works.map((work) => (

deka1105 commented 2 years ago

Open project_professional_portfolio-master/src/client.js

image

Change projectID: '' (without <>) You can find the project ID(red box in the following image) by logging into sanity and navigating to the project. image

smallbitmatters commented 2 years ago

image does anybody knows how to fix this?

Matiasbenites commented 1 year ago

I also have had that issue and I fixed it typing this line before the export:

// eslint-disable-next-line

Pd: It's a simple warning