shuzipai
Results
1
comments of
shuzipai
这问题太明显,在代码中只要使用,在发生热更新的时候就会触发这个问题,这意味着,使用(React.Fragment)就没办法使用react18。 补充:只有在使用ReactDom.createRoot的情况下才会触发问题,如果直接使用ReactDom.render就没问题  if you want duplicate bug, you can use this project: https://gitee.com/shuzipai/meikeyun-create-app git pull and yarn dev, change code, you will be find this bug