-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Labels
Description
In TypeScript Documentation it write:
import * as React from "react";but in cra, it use:
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; |
Should we use named export rather than default export?
Named export seems to be a more accurate way of expressing the export of react.
miraage