I am new to web development and I want to use firestore in a seperate js file. I kept searching for answers everywhere, and after almost 2 hours, my frustration led me to write this question.
Here's the situation:
I'm using a simple html/css/js format for my website, no webpack stuff. Just a html file, a linked css file and a linked javascript file. How do I use firestore? I'm tired and frustrated and absolutely blank at this point, so absolute details will be appreciated. Thanks.
I have written a sample code ( Github Link here ). this is a simple next js app, but giving me error when I refresh the page. This seems to be the common problem and I tried the fix provided in the internet but does not seem to fix my issue. The error is Warning: Prop className did not match. Server: "MuiBox-root MuiBox-root-1" Client: "MuiBox-root MuiBox-root-2". Did changes for _document.js, modified _app.js as mentioned in official website and solutions in stackoverflow. but nothing seems to work. Could someone take a look and help me whats wrong with the code? Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment