**在线调试代码** 可以实时修改运行,最好在当前组件的页面进行调试,不是跳转到专门的一个页面 *三种方案*: 1. 用 codesandbox 在线网站,但国内访问速度太慢,体验不好,难度最小 1. 自己搭建一个在线运行页面放在网站上,点击运行按钮自动跳转到该页面,体验中等,难度中等 1. 在当前页面实时运行,体验最好,难度也最大 https://github.com/mdx-js/mdx reference issue: webapps-ui/website#2 https://github.com/FormidableLabs/react-live
在线调试代码
可以实时修改运行,最好在当前组件的页面进行调试,不是跳转到专门的一个页面
三种方案:
https://github.com/mdx-js/mdx
reference issue: #2
https://github.com/FormidableLabs/react-live