#wdym meguFace
1 messages · Page 1 of 1 (latest)
Hi @winter compass. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Sorry @winter compass, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
opening the webpage on browser
is there some event of initial loading though? so i can use that to set the loading
i mean
i dont truly understand what ur trying to acomplish here with loading
lol?
the only other thing I could think of is when the window is ready
i mean showing a loading screen initially when going on any page
You would have to check for when the DOM is fully loaded
are you just playing around with nextjs?
or is this for a for old nextjs project
because nextjs13 app directory does have some neat features, like loading.jsx files
hmm so i could do like```js
// set loading to true
window.onload = () => {
// set loading to false
}
yea i know, but use it at your own risk, that's why i don't 💀