Skip to content

Instantly share code, notes, and snippets.

Avatar

Dariusz Żak darekzak

  • Poland
View GitHub Profile
@darekzak
darekzak / introrx.md
Created Jan 26, 2016 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View machine.js
const pedestrianStates = {
initial: 'walk',
states: {
walk: {
on: {
PED_COUNTDOWN: 'wait'
}
},
wait: {
on: {
View react-testing-library--renderWithRedux.md
import rootReducer from '../my-rootreducer-dir';

function renderWithRedux(ui, { initialState, store = createStore(rootReducer, initialState) } = {}, renderFn = render) {
  const obj = {
    ...renderFn(<Provider store={store}>{ui}</Provider>),
    store,
  };
  obj.rerenderWithRedux = (el, nextState) => {
View web audio|midi
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Advanced_techniques
- https://cartoonbeats.com/how-to-sync-web-audio-api-and-web-midi/
- https://www.html5rocks.com/en/tutorials/audio/scheduling/
You can’t perform that action at this time.