Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BdashにおけるFlux設計

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

 BdashにおけるFlux設計

Avatar for Kazuhito Hokamura

Kazuhito Hokamura

May 10, 2017
Tweet

More Decks by Kazuhito Hokamura

Other Decks in Technology

Transcript

  1. import { dispatch } from './QueryStore'; import Database from '../lib/Database';

    const QueryAction = {}; QueryAction.addNewQuery = params => { Database.Query.create(params).then(query => { dispatch('addNewQuery', { query }); }); }; Action Creator 㲗 Domain Logic