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

感觉你上传的包是不是有错误呢? #12

Closed
Jackie-5 opened this issue Apr 24, 2019 · 5 comments
Closed

感觉你上传的包是不是有错误呢? #12

Jackie-5 opened this issue Apr 24, 2019 · 5 comments
Labels
question Further information is requested

Comments

@Jackie-5
Copy link

我引用你的包会报这个错误。
image

但是我直接用你的源码是不会报这个错误的。

@ShenChang618
Copy link
Member

@jackie-web 感谢提出问题😄,能给我一份可以复现的源码吗,我来测试下哈

@Jackie-5
Copy link
Author

上面的问题我只有在我自己项目下引用npm包后会报错,但是用你的demo去引就不会报错。不太清楚是哪里出的问题。我也在找原因。
还有另外的一个错误,如果把react-router-dom下的Link跳转包裹在
这里 就会发生报错。
例子
image
image

react-router@5.0.0
react-router-dom@5.0.0

@ShenChang618
Copy link
Member

@jackie-web
image
试试把 Provider 放在 Router 组件里面。

@Jackie-5
Copy link
Author

放在里面可用用了。但是我一直没搞懂 我引用你的包 会报我第一次截图的那个错误,感觉好像引用方式出错了,但是完全找不到原因,我把你的包拉到项目里了引用就没问题~要不要我们加个联系方式?我给你演示看看。

@ShenChang618
Copy link
Member

@jackie-web 嗯嗯,加我微信吧 s2696922797c

@ShenChang618 ShenChang618 added help wanted Extra attention is needed question Further information is requested and removed help wanted Extra attention is needed labels May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants