Giter VIP home page Giter VIP logo

Comments (7)

lijinke666 avatar lijinke666 commented on June 6, 2024 1

升级 s2 前需要先升级 antd 版本么?

需要, s2-react 对应的 antd peerDependencies 是 >= 5.0.0

PS: 目前项目在升级完 s2 后报编译错误,不知道缺少了哪个 loader进行编译,见下图,antd 暂未升级)

这个是源码里 ?? 空值合并运算符未编译的问题, 和 @antv/s2-react 和是否升级 antd 没关系, 可以检查下你配置的打包工具对应的 loader 是不是把 node_modules 里面的 exclude 掉了, 请参考这个 #2550 (comment), 我们后面打包的时候优化下, 把 ?? 也编译一下算了.

from s2.

github-actions avatar github-actions commented on June 6, 2024

你要找的是不是 (You may look for issues):

  1. 92% #2584

from s2.

lijinke666 avatar lijinke666 commented on June 6, 2024

#2550

from s2.

XiChaoMing avatar XiChaoMing commented on June 6, 2024

好的,谢谢~

from s2.

lijinke666 avatar lijinke666 commented on June 6, 2024

resolved #2587

from s2.

lijinke666 avatar lijinke666 commented on June 6, 2024

🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

from s2.

lijinke666 avatar lijinke666 commented on June 6, 2024

🎉 This issue has been resolved in version @antv/s2-react-v2.0.0-next.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

from s2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.