New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@sialvsic/react-redux

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sialvsic/react-redux

This repo aim to analyze react redux and DIY it.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

react-redux-analyze

This repo aim to analyze react-redux and DIY it.

React redux 核心组成

  • Provider
  • connect
const rootElement = document.getElementById('root')
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  rootElement
)
const mapStateToProps = (state /*, ownProps*/) => {
  return {
    counter: state.counter
  }
}

const mapDispatchToProps = { increment, decrement, reset }

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(Counter)

Teach Path

How to publish to npm

npm publish --access public
npm unpublish @sialvsic/react-redux@0.0.1 -f

How to publish in local with verdaccio

npm publish --registry http://localhost:4873

P.S could install from local by adding this line in the .npmrc file

registry=http://localhost:4873

FAQs

Package last updated on 16 Apr 2019

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