Next Js 14.0.0 project rendering issues
Answered
Chinese perch posted this in #help-forum
Chinese perchOP
Hi guys👋 , I'm running into some trouble with the browser only rendering the background from layout.jsx but is not rendering the content from the page.jsx, I have no idea why this is happening, I hope somebody can shed some light on this. I'm using Next v14.0.0, thank you in advance!ðŸ™
Answered by joulev
The prop is named children not Children. JavaScript is case sensitive so the two are different
2 Replies
@Chinese perch Hi guys👋 , I'm running into some trouble with the browser only rendering the background from layout.jsx but is not rendering the content from the page.jsx, I have no idea why this is happening, I hope somebody can shed some light on this. I'm using Next v14.0.0, thank you in advance!ðŸ™
The prop is named children not Children. JavaScript is case sensitive so the two are different
Answer
@joulev The prop is named children not Children. JavaScript is case sensitive so the two are different
Chinese perchOP
Thank you Joulev
