Skip to content

Instantly share code, notes, and snippets.

@luistak
Created January 27, 2021 15:44
Show Gist options
  • Save luistak/95a03349e7cbd0d052e326d9ef563b06 to your computer and use it in GitHub Desktop.
Save luistak/95a03349e7cbd0d052e326d9ef563b06 to your computer and use it in GitHub Desktop.
function App({ messages = [] }) {
return (
<div className="MF">
<h3>Microfrontend 1️⃣</h3>
<p>New messages will be displayed below 👇</p>
<div className="MF__messages">
{messages.map((something, i) => <p key={something + i}>{something}</p>)}
</div>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment