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

[BUG] 集成 antd 提示 getPrefixCls is not a function,是因为Context的问题吗? #2286

Closed
yuchonghua opened this issue Nov 22, 2021 · 4 comments
Labels

Comments

@yuchonghua
Copy link

yuchonghua commented Nov 22, 2021

image

希望解决 raxjs集成antd,但在解决前更期待得知为什么提示此报错:
1、 raxjs 的 Context 兼容 React 的规范问题
2、本身 rax的bug无法通过更换方法使用 Context,如果是这样自身组件使用是否会同样有改问题,是否有解决方案

@SoloJiang
Copy link
Collaborator

rax 兼容 React Context 规范在规划中

@yuchonghua
Copy link
Author

期待有更多rax的文档 ,而非rax-app的文档

@SoloJiang
Copy link
Collaborator

我理解你需要的是 Rax Core 的规划

@yuchonghua
Copy link
Author

难道是 SSR 下 依据 #1380 没有返回 Context 吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants