Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbartholomae/redux-dynamic-modules-beacon

redux-beacon integration for redux-dynamic-modules.
https://github.com/dbartholomae/redux-dynamic-modules-beacon

Last synced: about 1 month ago
JSON representation

redux-beacon integration for redux-dynamic-modules.

Awesome Lists containing this project

README

        

# redux-dynamic-modules-beacon
[![npm version](https://badge.fury.io/js/redux-dynamic-modules-beacon.svg)](https://npmjs.org/package/redux-dynamic-modules-beacon) [![downloads](https://img.shields.io/npm/dw/redux-dynamic-modules-beacon.svg)](https://npmjs.org/package/redux-dynamic-modules-beacon) [![open issues](https://img.shields.io/github/issues-raw/dbartholomae/redux-dynamic-modules-beacon.svg)](https://github.com/dbartholomae/redux-dynamic-modules-beacon/issues) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdbartholomae%2Fredux-dynamic-modules-beacon.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdbartholomae%2Fredux-dynamic-modules-beacon?ref=badge_shield) [![build status](https://img.shields.io/circleci/project/github/dbartholomae/redux-dynamic-modules-beacon/master.svg?style=flat)](https://circleci.com/gh/dbartholomae/workflows/redux-dynamic-modules-beacon/tree/master) [![codecov](https://codecov.io/gh/dbartholomae/redux-dynamic-modules-beacon/branch/master/graph/badge.svg)](https://codecov.io/gh/dbartholomae/redux-dynamic-modules-beacon) [![dependency status](https://david-dm.org/dbartholomae/redux-dynamic-modules-beacon.svg?theme=shields.io)](https://david-dm.org/dbartholomae/redux-dynamic-modules-beacon) [![devDependency status](https://david-dm.org/dbartholomae/redux-dynamic-modules-beacon/dev-status.svg)](https://david-dm.org/dbartholomae/redux-dynamic-modules-beacon?type=dev) [![semantic release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release#badge)

[redux-beacon](https://rangle.gitbook.io/redux-beacon/) integration for [redux-dynamic-modules](https://redux-dynamic-modules.js.org/).

## Installation
Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install redux-dynamic-modules-beacon --save
```

## Usage

```ts
import { createStore, IModuleStore } from "redux-dynamic-modules";
import GoogleAnalytics from '@redux-beacon/google-analytics';
import { UsersModule } from "./usersModule";

const store: IModuleStore = createStore(
{
initialState: {},
extensions: [getBeaconExtension(GoogleAnalytics())],
},
UsersModule
);

```