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

BdashにおけるFlux設計

 BdashにおけるFlux設計

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