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

cerebral

Package Overview
Dependencies
Maintainers
1
Versions
638
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cerebral

An intelligent react application framework

  • 0.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.3K
decreased by-27.52%
Maintainers
1
Weekly downloads
 
Created
Source

cerebral - alpha build status

An intelligent react application framework

| API |

Demos

TodoMVC: www.christianalfoni.com/todomvc

Video introductions

  • Get started - 4:13. See how you get started with your Cerebral app. Using a boilerplate you have everything you need for a great workflow and even a server you can put into production.

  • The debugger - 8:13. We take a look at the powerful debugger for Cerebral. Giving you complete overview and control of your application state flow.

  • Building your first app - 14:24. We build the hello world application in the boilerplate using our debugger to explain a pretty awesome workflow.

  • Creating dynamic state - 5:32. We are going to look at where and how you create dynamic state.

  • Caching and relational state - 28:40. We are going to handle some really complex stuff. A table with pagination and caching in place, but also automatically request users from the servers as we load projects.

Cerebral - The abstraction

Read this article introducing Cerebral: Cerebral developer preview

Short history

I have been writing about, researching and developing both traditional and Flux architecture for quite some time. Look at my blog www.christianalfoni.com for more information. Though I think we are moving towards better abstractions for reasoning about our applications there are core issues that are yet to be solved. This library is heavily inspired by articles, videos, other projects and my own experiences building applications.

Contributors

  • Logo and illustrations - Petter Stenberg Hansen
  • Article review - Jesse Wood

Thanks guys!

Core features

  • An architecture inspired by Flux and Baobab
  • A single object for all application state
  • One way flow of state
  • Has complete control of your application state flow using signals
  • Can retrace state changes live in the UI
  • Specific concepts for handling asynchronous code and relational data
  • Immutable data
  • A functional approach to interactions
  • Gives errors on invalid code
  • Requires React as your UI layer

Creating an application

Read this article introducing Cerebral: Cerebral developer preview

You can use the cerebral-boilerplate to quickly get up and running. It is a Webpack and Express setup.

Remember

What makes cerebral truly unique is how you are able to debug it. The signals implementation gives cerebral full control of your state flow, even asynchronous flow. That way it is very easy to retrace your steps. By using the built in debugger you can reproduce states very easily and use the logging information to identify how state flows and what changes are made to the state.

FAQs

Package last updated on 23 May 2015

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