不能获取到useParams的值
#12303
Replies: 1 comment
-
如果这个库把内容创建到不在 react router 的 context 之下的话,就可能取不到了,想办法避免吧,比如命令式的 modal 调用,在调用的时候传进去。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我使用了
@ebay/nice-modal-react
// src/app.tsx
// /user/203
params : {}
Beta Was this translation helpful? Give feedback.
All reactions