Socket
Socket
Sign inDemoInstall

@conveyal/reboot

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conveyal/reboot

React/Redux bootstrapping and common libs for Conveyal


Version published
Weekly downloads
8
increased by166.67%
Maintainers
1
Weekly downloads
 
Created
Source

reboot

NPM version Build status

React/Redux bootstrapping and common libs for Conveyal.

Modern JavaScript applications take a lot of bootstrapping. This library helps with some common libs to include and use on the client to help.

Usage

Let's create a Redux application:

const {mount} = require('@conveyal/reboot')

const Application = require('./containers/application')
const reducers = require('./reducers')

mount({
  app: Application,
  id: 'root',
  reducers
})

This will create a redux store with the fetch, history, logger, multi, and promise middleware applied, wrap your application with a redux provider, initialize the browser history, and mount your component to #id.

API

auth0

fetch({url, options, next})

html({title})

mount({app, id, reducers})

Install

With yarn installed, run

$ yarn add @conveyal/reboot

Acknowledgments

@conveyal/reboot was inspired by..

See Also

License

MIT

FAQs

Package last updated on 01 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc