garfish
garfish copied to clipboard
@garfish/bridge-react-v19
Clear and concise description of the problem
什么时候支持 @garfish/bridge-react-v19
Suggested solution
什么时候支持 @garfish/bridge-react-v19
Alternative
No response
Additional context
No response
Validations
- [x] Read the Contributing Guidelines.
- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@medici 暂时可以在自定义 provider 里面自定义下 react 19 的 render 和 destory 方法哈,我们后续支持下
@vbingbingv 五月我们支持下
参考 React 18 自定一个导出函数,提示:Uncaught (in promise) Error: [Garfish warning]: "provider" is "undefined".
https://github.com/web-infra-dev/garfish/issues/619#issuecomment-1510720903
主应用:通过loadApp动态挂载应用;
子应用:声明一个 provider 普通函数,然后:
if (window.__GARFISH__ && typeof __GARFISH_EXPORTS__ !== 'undefined') {
__GARFISH_EXPORTS__.provider = provider;
}
Hi, may I ask why this feature is still on hold? Is there any plan to complete it?