Convert UseRef to React Hooks

前端 未结 0 1730
一向
一向 2021-01-15 13:23

I am trying to convert my component to react hooks.

class AppMenu extends Component {
    menuRef = null;

    initMenu() {
        if (this.prop         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题