While the output passes the tests and is functionally correct, the diff is enormous, and none of those additions were asked for or even necessary.
大多数人认为代码修改应该越多越好,但作者认为过度修改(over-editing)虽然功能正确,但引入了不必要的改动。
While the output passes the tests and is functionally correct, the diff is enormous, and none of those additions were asked for or even necessary.
大多数人认为代码修改应该越多越好,但作者认为过度修改(over-editing)虽然功能正确,但引入了不必要的改动。
Several templates and tools are available to assist in formatting, such as Reflinks (documentation), reFill (documentation) and Citation bot (documentation)
I clicked the link for reFill and thought it looked interesting. Would like to look into this further.
the actual upgrade path should be very simple for most people since the deprecated things are mostly edge cases and any common ones can be codemodded
Want to use this now? Existing projects A more robust and maintainable way to incorporate this patch into your workflow using patch-package:
Rule of Generation: Avoid hand-hacking; write programs to write programs when you can.
find src -name '*.js' -print | xargs jscodeshift -t node_modules/@material-ui/codemod/lib/v4.0.0/top-level-imports.js