Skip to content

Instantly share code, notes, and snippets.

@leocristofani
Last active December 19, 2018 13:02
Show Gist options
  • Save leocristofani/77531e39e6a96a5517bf99bad50d8f61 to your computer and use it in GitHub Desktop.
Save leocristofani/77531e39e6a96a5517bf99bad50d8f61 to your computer and use it in GitHub Desktop.
Micro-frontends in practice - wrapping outer most component with an error boundary
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