Skip to content

Instantly share code, notes, and snippets.

jude Elastic1

  • Japan Saitama
View GitHub Profile
View riot-redux.js
import riot from 'riot'
import { shallowEqual } from 'shallow-equal-object'
const MIXIN_NAME = '__@riotRedux@__'
export const mixStore = store => {
riot.mixin(MIXIN_NAME, { store })
}
export const connect = (mapStateToOpts = () => ({}), mapDispatchToOpts = () => ({})) => (tagName, containerName) =>
You can’t perform that action at this time.