#anyone help ,what this warning is about?
21 messages · Page 1 of 1 (latest)
looks like you're trying to render the value true as a JSX (react) element
Can you please explain please ?
Well, at some point in your return value in features.jsx, probably line 26, you have a value which is true or evaluates to it. React doesn't know what to do with it.
Paste your features.jsx in here
Interesting, there's nothing on line 26 that would point to that.
Explore this sleek and first website clone of the iPhone 16 Pro! Built with React.js for an interactive feel, Three.js for stunning 3D visuals, and GSAP for smooth animations. Experience the featur...
I'd guess there's some post-processing going on to transform your files.
I'll have a quick look
What happens if you click 26:20 on the error? Does it take you to the source file and highlight?
ok I'll have a look
unfortunately I have to leave soon, but I can't seem to locate the issue immediately
I'll have a look tomorrow if someone else doesn't help you before then
No problem, thanks for your consideration 😊
not got time to look in detail but the unmapped source L26 is
at a guess, and it is a guess mind, you're setting the ref incorrectly
<style jsx>
Try changing this to:
<style jsx="true">
Great thanks, it just fixed all warnings, can you please elaborate, why I was getting this error and how that solved?
The jsx attribute requires a string value. Not giving any value is equivalent to false, which is a boolean value.