Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR error with nextjs #33

Open
yyynnn opened this issue Dec 16, 2022 · 1 comment
Open

SSR error with nextjs #33

yyynnn opened this issue Dec 16, 2022 · 1 comment

Comments

@yyynnn
Copy link

yyynnn commented Dec 16, 2022

getting withConfig of undefined error while using nextjs

@based-ghost
Copy link
Owner

@yyynnn

Without knowing how you have it configured i'd suggest looking at the following two examples posted by nextjs:

with-styled-components
with-styled-components-babel

The react-funtional-select package is compiled using the babel plugin babel-plugin-styled-components, so if you have a .babelrc file you can replicate the configuration in the 2nd example. If not, you can try the first example.

I can take a look at my bundling process as well to check for anything that may be impacting ssr builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants