Skip to content

Create imrrd snippet #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Create imrrd snippet #194

wants to merge 2 commits into from

Conversation

r3vert
Copy link

@r3vert r3vert commented Sep 16, 2021

When using react most people import both React & ReactDOM, but there are only snippets for React and ReactDOM separately.

So I made a snippet to import both React and ReactDOM

imrrd
im = import, r = react, rd = reactDOM
speed-final-clip

@ice-chillios
Copy link

I wouldn't introduce those combined imports as it would produce more and more sequences that will match for someone. It's better to introduce a component or whole snippet where you are using ReactDOM instead of just imports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants