ant-design-mobile can be viewed in codepen, for example, the drop-down refresh component https://codepen.io/pen/?edito.
question:
1, ant-design-mobile
the last sentence of the component is ReactDOM.render (< App / >, mountNode);
, mountNode is not a specific mount point, it is not supposed to run, but you can see the running effect in codepen, so how does it work?
2, some js code needs to be debugged with console.log () to see the effect, how to do it in codepen? Some code that does not need to refer to third-party resources can be copied to chrome"s console for debugging, but some need to reference react, in the browser console is not easy to do, ask the boss to do something.