Skip to content

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
Member

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

Development

Successfully merging this pull request may close these issues.

2 participants