Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在维护 React 应用程序,我必须将所有类组件变成功能。
一个组件具有该renderChildren()方法。
renderChildren()
有没有办法在带有钩子的功能组件中模仿该方法?
我非常感谢您的支持。