Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] 升级到 react-query@2.21.0 之后版本, remax 构建过程报错 #1339

Closed
dpyzo0o opened this issue Oct 21, 2020 · 0 comments · Fixed by #1342
Closed

[BUG] 升级到 react-query@2.21.0 之后版本, remax 构建过程报错 #1339

dpyzo0o opened this issue Oct 21, 2020 · 0 comments · Fixed by #1342
Labels
bug Something isn't working

Comments

@dpyzo0o
Copy link
Contributor

dpyzo0o commented Oct 21, 2020

bug 描述

升级 react-query 至 2.21.0 以上版本后, remax 构建中报错, 报错信息如下

8019BA0A-DD36-43B8-B9AA-A35B446B97A4

原因是 react-qeury@2.21.0 版本引入了 react-dom 依赖, 对应的 PR 在这

复现步骤
升级 react-query 至 2.21.0 以上版本

期望结果
程序正常运行

复现代码
https://github.com/remaxjs/examples/tree/master/react-query, 升级 react-query 即可

版本信息:

  • remax 版本: 2.8.4
  • 小程序端: 微信小程序
  • 开发环境: mac OS

其他信息
[如截图等其他信息可以贴在这里]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant