mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
* pass `uid` to term * term: keep track of term instance references * sessions: remvoe `write` object overhead * hterm: cache measurement of codepoints for single char strings * sessions: merge less eagerly when we receive a PTY_DATA action * store: handle the side effect of writing to the terminal from a middleware * terms: add terms instance cache * lint
18 lines
440 B
JavaScript
18 lines
440 B
JavaScript
import {createStore, applyMiddleware} from 'redux';
|
|
import thunk from 'redux-thunk';
|
|
import rootReducer from '../reducers/index';
|
|
import effects from '../utils/effects';
|
|
import * as plugins from '../utils/plugins';
|
|
import writeMiddleware from './write-middleware';
|
|
|
|
export default () =>
|
|
createStore(
|
|
rootReducer,
|
|
applyMiddleware(
|
|
thunk,
|
|
plugins.middleware,
|
|
thunk,
|
|
effects,
|
|
writeMiddleware
|
|
)
|
|
);
|