Last active
December 19, 2018 13:02
-
-
Save leocristofani/77531e39e6a96a5517bf99bad50d8f61 to your computer and use it in GitHub Desktop.
Micro-frontends in practice - wrapping outer most component with an error boundary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SongsContainer extends Component { | |
render() { | |
// ... | |
return ( | |
<ErrorBoundary> | |
<Songs artist={artist} songs={songs} /> | |
</ErrorBoundary> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment