Skip to content

Instantly share code, notes, and snippets.

@plouc
plouc / App.jsx
Last active July 2, 2017 03:54
Mozaïk realtime communication example
// mozaik-demo/src/App.jsx
import React from 'react';
import Mozaik from 'mozaik/browser';
import Realtime from './Realtime.jsx';
Mozaik.Registry.add('realtime.example', Realtime);
const MozaikComponent = Mozaik.Component.Mozaik;
React.render(<MozaikComponent/>, document.getElementById('mozaik'));
@plouc
plouc / dabblet.css
Created July 12, 2012 21:42
Untitled
html, body {
height: 100%;
margin: 0;
font-family: sans-serif;
font-size: 12px;
}
ul {
margin: 0;
padding: 0;
}
@plouc
plouc / dabblet.css
Created July 12, 2012 17:28
Untitled
html, body {
height: 100%;
margin: 0;
font-family: sans-serif;
font-size: 12px;
}
ul {
margin: 0;
padding: 0;
}