Hermanya / react-blob

💧React component that looks like liquid in space
https://hermanya.github.io/react-blob
71 stars 7 forks source link

not work to nextjs #3

Open Gregory-Canonne opened 4 years ago

Gregory-Canonne commented 4 years ago

not adapted to nextjs

Warning: Prop className did not match. Server: "sc-bdVaJa dWoBqR" Client: "sc-bdVaJa kpFhnb" in div in StyledComponent in styled.div (created by Blob) in Blob (at pages/index.js:11) in div (at pages/index.js:6) in Home (created by App) in App in Container (created by AppContainer) in AppContainer

Hermanya commented 4 years ago

Try looking up styled components nextjs integration, there could be a plugin or something

Gregory-Canonne commented 4 years ago

already test... but not working, without nextjs is ok with warning but is ok, nextjs -> not working

Hermanya commented 4 years ago

Check this out https://styled-components.com/docs/advanced#nextjs

https://github.com/zeit/next.js/tree/master/examples/with-styled-components

Gregory-Canonne commented 4 years ago

already tested... sorry and not working, you can test