Git Product home page Git Product logo

Comments (7)

streamich avatar streamich commented on March 29, 2024 3

Do you still get that error if you include a specific hook?

import myHook from 'react-use/lib/myHook';

from react-use.

streamich avatar streamich commented on March 29, 2024 2

🎉 This issue has been resolved in version 6.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from react-use.

unix avatar unix commented on March 29, 2024 1

Do you still get that error if you include a specific hook?

import myHook from 'react-use/lib/myHook';

resolved. issue from useCss.ts > import {create, NanoRenderer} from 'nano-css'.
would you consider refactoring here?

from react-use.

streamich avatar streamich commented on March 29, 2024

Looks like nano-css cssom addon does not support server side rendering. Either that addon has to detect SSR or in this lib we need to detect SSR and apply CSS differently. I guess, it's better if nano-css supports it.

from react-use.

Jivings avatar Jivings commented on March 29, 2024

I'm getting this error trying to build normally. Is there a workaround?

from react-use.

nestarz avatar nestarz commented on March 29, 2024

same here using

import { useWindowSize } from "react-use";

from react-use.

tom2strobl avatar tom2strobl commented on March 29, 2024

Do you still get that error if you include a specific hook?

import myHook from 'react-use/lib/myHook';

Just for others like me now coming to the thread – importing a specific hook like mentioned indeed solves the issue. I was using next as well.

from react-use.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.