Skip to content

Instantly share code, notes, and snippets.

View dmitry-korolev's full-sized avatar

Dima Korolev dmitry-korolev

View GitHub Profile
@dmitry-korolev
dmitry-korolev / example.jsx
Last active July 16, 2018 13:58 — forked from artalar/example.jsx
[RFC] global stream with declarative suscriptions
/* Example #1 */
// Store.js
// `Atom()` - create new stream
const a = Atom(0);
const b = Atom(0);