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
ERROR: "Class extends value undefined is not a constructor or null" after running Next.js 13 with app dir #2753
Comments
You should use "use client"; on the top of the file you used a component |
@hsk-kr I didn't use |
@naseef0 I installed The following is my {
"name": "reactstrap-test-01",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@types/node": "20.2.1",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"bootstrap": "^5.2.3",
"eslint": "8.40.0",
"eslint-config-next": "13.4.3",
"next": "13.4.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"reactstrap": "^9.1.10",
"typescript": "5.0.4"
}
}
|
I added a "user client" page, however it didn't work because of an issue that showed me in the console how to fix it. You may view the screenshot I uploaded here. Let me know if there is a solution, please. Many thanks |
same here, idk why |
Anu updates? |
same here |
add "use client" on components that call reactstrap element and the children will automatically render as client. https://nextjs.org/docs/app/building-your-application/rendering/client-components |
Any updates on this |
NavLink
#9.1.10
#18.2.0
#x.x.x
#13.4.2
What is happening?
After installing reactstrap in to my next 13 app Showing error "Class extends value undefined is not a constructor or null"
I dint even import any components from reactstrap. still showing this error
What should be happening?
Steps to reproduce issue
Error message in console
Code
The text was updated successfully, but these errors were encountered: