Open haani104 opened 6 years ago
same issue here
@lean If the above is a blocker for you, I suggest you look into other options for creating React library. Like this one https://github.com/transitive-bullshit/create-react-library
Yes, it is a blocker. So I will try your suggestion. Thanks
This issue is a:
REPRO REPOS https://github.com/ctrlplusb/react-universally
Is the version of
nwb
you're using installed globally or locally? -Globally
Hi, I have created a npm module (using nwb new react-component), which is published on npm and can be installed by typing
npm i react-loading-button-check
The issue is whenever I am importing the button, i.e.
import LoadingButton from 'react-loading-button-check'
in any server side rendering(SSR) react project, I always get the below errorHowever it runs fine when used with any other non SSR React projects.
I am tryig to build a React library that can also be used by SSR React projects. Please help/guide.