base-webcomponent-redux
v0.0.3
Published
Base Webcomponent Redux
Downloads
5
Readme
Base WebComponent Redux
How To Use BaseWebComponent Redux
Install the module via npm i base-webcomponent-redux
and consume it as such:
import { connect } from "base-webcomponent-redux";
Alternatively you can use a CDN such as unpkg:
import { connect } from "https://unpkg.com/base-webcomponent-redux";
Example
export default BWC(
connect(store)(mapStateToProps, mapDispatchToProps)(Component)
);