Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

refract-redux-xstream

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refract-redux-xstream - npm Package Compare versions

Comparing version
1.0.0-4
to
1.0.0-5
+1
-1
package.json
{
"name": "refract-redux-xstream",
"version": "1.0.0-4",
"version": "1.0.0-5",
"main": "index.js",

@@ -5,0 +5,0 @@ "jsnext:main": "index.es.js",

import { createStore } from 'redux'
import { refractEnhancer } from '../index'
describe(require('../../package.json').name, () => {
it('should work', () => {
interface State {
name: string
}
const reducer = (state = { name: 'refract' }, action) => state
const store = createStore(reducer, {}, refractEnhancer<State>())
const getName = (state: State): string => state.name
const name$ = store.observe<string>(getName)
})
})