project_professional_portfolio icon indicating copy to clipboard operation
project_professional_portfolio copied to clipboard

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?

Open radhika-020 opened this issue 2 years ago • 7 comments

Screenshot (47)

radhika-020 avatar Jul 08 '22 15:07 radhika-020

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)

Orsten avatar Jul 10 '22 18:07 Orsten

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.

kirbster6 avatar Jul 11 '22 03:07 kirbster6

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.

BATspock avatar Jul 21 '22 17:07 BATspock

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

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

rahulmore01 avatar Jul 23 '22 04:07 rahulmore01

Open project_professional_portfolio-master/src/client.js

image

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

deka1105 avatar Aug 19 '22 22:08 deka1105

image does anybody knows how to fix this?

smallbitmatters avatar Nov 11 '22 19:11 smallbitmatters

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

Matiasbenites avatar Feb 11 '23 18:02 Matiasbenites