while exporting components in react we use "export default objectName", why cant we just write "export objectName" without default keyword ?
class App extends Component { render() { return ( ); } }
export App;
while exporting components in react we use "export default objectName", why cant we just write "export objectName" without default keyword ?
class App extends Component { render() { return ( ); } }
export App;