React Fix It
当 React 发生错误时,自动生成测试用例
Follow the flow:
- Enhance your components with
fixIt
- Write some bugs (or wait for your components to fail)
- Open the console and copy the test snippet
- Paste the code to reproduce the error
- Fix the bugs and celebrate