Skip to content

Importing react and usage of interface #24

Description

@jota12x

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions