Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cerebral/react

Package Overview
Dependencies
Maintainers
5
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cerebral/react - npm Package Compare versions

Comparing version 4.0.4 to 4.1.0-1551020966578

4

package.json
{
"name": "@cerebral/react",
"version": "4.0.4",
"version": "4.1.0-1551020966578",
"description": "React view for Cerebral",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"cerebral": "^5.0.4"
"cerebral": "^5.1.0-1551020966578"
},

@@ -23,0 +23,0 @@ "scripts": {

@@ -35,3 +35,3 @@ # @cerebral/react

import React from 'react'
import { state, sequences } from 'cerebral/proxy'
import { state, sequences } from 'cerebral'
import { connect } from '@cerebral/react'

@@ -41,4 +41,4 @@

{
foo: state.foo,
onClick: sequences.onClick
foo: state`foo`,
onClick: sequences`onClick`
},

@@ -55,3 +55,3 @@ function MyComponent({ foo, onClick }) {

import React from 'react'
import { state, sequences } from 'cerebral/proxy'
import { state, sequences } from 'cerebral'
import { connect } from '@cerebral/react'

@@ -61,4 +61,4 @@

{
foo: state.foo,
onClick: sequences.onClick
foo: state`foo`,
onClick: sequences`onClick`
},

@@ -77,3 +77,3 @@ class MyComponent extends React.Component {

import React from 'react'
import { state, sequences } from 'cerebral/proxy'
import { state, sequences } from 'cerebral'
import { connect } from '@cerebral/react'

@@ -83,4 +83,4 @@

function MyComponent({ get }) {
const foo = get(state.foo)
const onClick = get(sequences.onClick)
const foo = get(state`foo`)
const onClick = get(sequences`onClick`)

@@ -96,3 +96,3 @@ return <div onClick={() => onClick()}>{foo}</div>

import React from 'react'
import { sequences, state } from 'cerebral/proxy'
import { sequences, state } from 'cerebral'
import { connect } from '@cerebral/react'

@@ -102,4 +102,4 @@

{
foo: state.app.foo,
onClick: sequences.app.onClick
foo: state`app.foo`,
onClick: sequences`app.onClick`
},

@@ -106,0 +106,0 @@ ({ foo, onClick }, ownProps, get) => {

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