Skip to content
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

import useState, useEffect etc.. from react at the beginning only #68

Open
Binu42 opened this issue Oct 10, 2020 · 0 comments
Open

import useState, useEffect etc.. from react at the beginning only #68

Binu42 opened this issue Oct 10, 2020 · 0 comments

Comments

@Binu42
Copy link
Contributor

Binu42 commented Oct 10, 2020

currently, we are importing useState, useEffect, CSSProperties, etc.. from react each time when we need it, by this code is not looking clean and we are writing repetitive things.
we can import all these methods at the beginning only and use it in our code.

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

Successfully merging a pull request may close this issue.

1 participant