Replies: 1 comment 1 reply
-
It is likely an issue not with this code -- for example, if the footer is after something else that didn't hydrate correctly, the first issue might appear with the footer itself. I just copy-pasted your |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a basic component that's causing a hydration error, the error is A Left, DIV right. removing the links causes no errors.
This only happens in debug mode, compiled it runs fine. It's also not inside a Suspense but i do use them where this happens.
Is there any issues with this code that could cause this
#[component] pub fn FooterList() -> impl IntoView { view! { <div class="footer"> <div> <div>not trading advice. just data. always do your own research.</div> </div> <div> <div><a href="/rules/">rules</a></div> <div><a href="/privacy-policy/">privacy policy</a></div> <div><a href="/cookies/">cookies</a></div> <div><a href="/disclaimer/">Disclaimer</a></div> <div><a href="/glossary/">Glossary</a></div> <div><a href="/terms-of-use/">Terms of Use</a></div> </div> <div> <span>Suggestions / Praise / Problems to </span> <span><a href="mailto:">email</a></span> </div> </div> } }
Beta Was this translation helpful? Give feedback.
All reactions