Why using import * as React from 'react'
?
#1819
-
The |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
i never use that syntax import {useRef,useState} from 'react' |
Beta Was this translation helpful? Give feedback.
-
https://theodorusclarence.com/shorts/react/namespace-vs-named you can read this article |
Beta Was this translation helpful? Give feedback.
https://theodorusclarence.com/shorts/react/namespace-vs-named you can read this article