Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
react derpery...
<!-- #container wraps the entire page's markup (except on-demand stuff like modals) -->
<!-- #container's children and classnames change based on the current view / route -->
<div id="#container" class="VIEW VIEW--MODE">
<script>window.__props = { props: 'go here' };</script>
<script src="/path/to/main.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment