Will it support the appdir of nextjs13? #142
Replies: 2 comments 4 replies
-
Do you mean add |
Beta Was this translation helpful? Give feedback.
-
@jaredLunde thanks for a great library, best masonry library I have used so far! I have one (noob) question if I may, I am using NextJS and was running into hydration errors when using Masonic. So I ended up having to use the client using
and
Then conditionally load my board based on this with
This fixed the hydration error, but I have a concern about the knock on effect this would have on SEO. Its critical for me these pages are well optimised and the items in the boards must be search engine readible. GPT told me: "Search engine crawlers may not be able to properly index your site if the content is not immediately available on the server-side. Google's crawler is capable of executing JavaScript, but it's generally better to have the content available immediately from the server-side for SEO purposes." Is this correct and is there any alternative way to use Masonic in this way without getting the hydration errors, but also in a way that doesnt kill any SEO juice? |
Beta Was this translation helpful? Give feedback.
-
Will it support the appdir of nextjs13?
Beta Was this translation helpful? Give feedback.
All reactions