What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-29 04:31:04
typeerror object(...) is not a function react useParams
There is no useParams in the react library? perhaps like me , you were using the wrong import. i expect you use react-router? then you should import the useParams from there. import { useParams } from "react" (wrong) import React from "rea... Add solution