Closed ecklf closed 4 years ago
A change that was also made in the create-react-app template (and approved by Dan Abramov) Long detailed explanation here: https://github.com/facebook/create-react-app/pull/8177
Change proposal:
import React from 'react' interface Props { } const Component: React.FC<Props> = () => { return ( <div> </div> ) } export default Component
to
import React from 'react' interface Props { } const Component = (props: Props) => { return ( <div> </div> ) } export default Component
A change that was also made in the create-react-app template (and approved by Dan Abramov) Long detailed explanation here: https://github.com/facebook/create-react-app/pull/8177
Change proposal:
to