Skip to content

Instantly share code, notes, and snippets.

@matthewrobb
Created November 4, 2018 17:16
Show Gist options
  • Save matthewrobb/d32fbd1cef4a46d1a6de092c44d7ecbd to your computer and use it in GitHub Desktop.
Save matthewrobb/d32fbd1cef4a46d1a6de092c44d7ecbd to your computer and use it in GitHub Desktop.
Mithril + Mobx Mithril + Mobx // source https://jsbin.com/jesebuv
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Mithril + Mobx">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Mithril + Mobx</title>
<script src="https://unpkg.com/mithril/mithril.js"></script>
</head>
<body>
<script id="jsbin-javascript">
/** @jsx m */
"use strict";
m.render(document.body, m(
"pre",
null,
"hola"
));
</script>
<script id="jsbin-source-javascript" type="text/javascript">/** @jsx m */
m.render(document.body, <pre>hola</pre>);</script></body>
</html>
/** @jsx m */
"use strict";
m.render(document.body, m(
"pre",
null,
"hola"
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment