Comments (9)
You should use
"use client";
on the top of the file you used a component NavLink
.
from reactstrap.
You should use
"use client";on the top of the file you used a component
NavLink
.
@hsk-kr I didn't use NavLink
but instead installed reactstrap
and re-ran the Next.js app. However, I encountered the error mentioned above during this process.
from reactstrap.
@naseef0 I installed reactstrap
and ru-run the Next.js app. It seems working out well.
The following is my package.json
.
{
"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"
}
}
from reactstrap.
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
from reactstrap.
same here, idk why
from reactstrap.
Anu updates?
from reactstrap.
same here
from reactstrap.
add "use client" on components that call reactstrap element and the children will automatically render as client.
for example you call reactstrap components from layout.tsx then you should put "use client" on layout.tsx
I solved with this
https://nextjs.org/docs/app/building-your-application/rendering/client-components
from reactstrap.
Any updates on this
from reactstrap.
Related Issues (20)
- DropdownMenu end does not right align in navbar
- Dropdown appered error useState
- Offcanvas example code not working HOT 1
- Dropdown component throws error if used with inNavbar property HOT 4
- DropdownItem looses menuitem role when disabled HOT 1
- Enhancement Request - ModalTitle component
- Tooltip arrows are not visible with Bootstrap 5.3.0 HOT 1
- [deps] Checking for breaking changes in Dependabot's PRs
- Problem to centralize CarouselCaption
- Shift+Tab Model with ShadowRoot
- Carousel: switching interval to false does not deactivate autoplay directly
- Padding issue when closing a modal and opening another at the same time
- FormGroup combined with InputGroup doesn't render properly due to mis-placed class name 'mb-3' HOT 1
- Preventing scroll is not working for nested Offcanvas
- Due to the type definition, UncontrolledAccordion cannot be used without toggle HOT 1
- ReactStrap Navbar is not printed to default pdf printer pf browsers
- Dropdown not working witn Reactstrap v8 and Bootstrap v4 HOT 1
- Use useId() hook in Popover
- It won't accept floating numbers when I add the minimum and maximum number limits. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactstrap.