question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a codemod for material-ui-icons

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

material-ui-icons has been moved to @material-ui/icons.

@material-ui/codemod provides a few codemods for other import path changes, like material-ui/svg-icons/* to @material-ui/icons/* and material-ui to @material-ui/core. But it does not offer a codemod to migrate from material-ui-icons.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mbrookescommented, May 13, 2018

@dantman Is it really needed? A global search and replace in your editor will do the job just as easily.

0reactions
oliviertassinaricommented, May 13, 2018

The import-path codemod had separate importModule and targetModule arguments that looked like it could be used to migrate

@dantman I would rather encourage people to start with the global search and replace, then to apply the codemod.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Provide a codemod for material-ui-icons · Issue #11356 - GitHub
No, we don't provide such codemod. We provide a codemod for flattening the v1 import paths. I guess I'm wrong. The import-path codemod...
Read more >
material-ui/codemod - npm.io
This repository contains a collection of codemod scripts based for use with JSCodeshift that help update Material-UI APIs.
Read more >
@material-ui/codemod - npm
This repository contains a collection of codemod scripts based for use with jscodeshift that help update Material-UI APIs. Setup & run. npx @ ......
Read more >
Material-UI 5 is Coming: Here's What I'm Excited About
Although we give a codemod to assist in the migration of JSS styles to styled API, this approach increases CSS specificity.
Read more >
Migrating to v5: getting started - Material UI - MUI
We highly recommend running our codemods for efficiency—these will ... If you're using @material-ui/lab or @material-ui/icons , you will need to install the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found