What would be the reason for not exporting context object directly?

前端 未结 0 681
傲寒
傲寒 2020-12-15 10:13

Recently I see many people export a function that already used useContext like this:

const WindowSizeConte         


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