React - ContextAPI not render the loop when context changed

后端 未结 0 676
北海茫月
北海茫月 2021-01-19 05:29

Given that following code it should rerender the components when a change is detected right?

import {useContext} from "react";
import {ShoppingCartC         


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