reactjs - what is default in react import -
i going through react code, can 1 please let me know default react in below code does.
import { default react, component, proptypes, } "react";
thanks, guru
what default in react import?
default in context entire react
library. unnecessary in case , shortened import react, { component } 'react'
another thing note, proptypes
have been moved own package now.
Comments
Post a Comment