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

Importing react and usage of interface #24

Open
jota12x opened this issue May 8, 2020 · 0 comments
Open

Importing react and usage of interface #24

jota12x opened this issue May 8, 2020 · 0 comments

Comments

@jota12x
Copy link

jota12x commented May 8, 2020

Hi, this is more a question rather than an issue. I was curious about why it was decided to go for
import * as React from 'react'; Instead of import React from 'react'.

The other question is about the usage of interfaces rather than types. I know this is kind of "controvertial" but why it was decided to include one over the other.

Thanks in advance, the snippets are awesome.

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

No branches or pull requests

1 participant