You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ofimport 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.
The text was updated successfully, but these errors were encountered: