I'm new to react so its just a question that i want to know which one is more efficient and which give the best time complexity.
No. 1
export default class BookingTabs extends Component {
render() {
return (
);
}
}
No. 2
class Book extends Component {
render() {
return (
);
}
}
export default Book
Questions:
- which one is more efficient to use?
- which one take less time? even difference in micro seconds?
- what is the different between export default and module.export?