Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

delorean

> 编程语言
Open source

An Agnostic, Complete Flux Architecture Framework

750 stars0 likes4 views
WebsiteGitHub

About

An Agnostic, Complete Flux Architecture Framework

DeLorean.js

DeLorean is a tiny Flux pattern implementation.

  • Unidirectional data flow, it makes your app logic simpler than MVC,
  • Automatically listens to data changes and keeps your data updated,
  • Makes data more consistent across your whole application,
  • It's framework agnostic, completely. There's no view framework dependency.
  • Very small, just 5K gzipped.
  • Built-in React.js integration, easy to use with Flight.js and Ractive.js and probably all others.
  • Improve your UI/data consistency using rollbacks.

Tutorial

You can learn Flux and DeLorean.js in minutes. Read the tutorial

Using with Frameworks

  • Try React.js example on JSFiddle
  • Try Flight.js example on JSFiddle
  • Try Ractive.js example on JSFiddle

Install

You can install DeLorean with Bower:

bash
bower install delorean

You can also install by NPM to use with Browserify (recommended)

bash
npm install delorean

Usage

Hipster way:

javascript
var Flux = require('delorean').Flux;
// ...

Old-skool way:

xml

Overview

…

Run this example on JSFiddle

Docs

You can read the tutorial to get started DeLorean.js with your favorite framework.

Basic Concepts

  • Store: A postbox
  • Dispatcher: The postman, drops mail in the postboxes
  • View (or Component): Box owner, checks the box for mail
  • Action Creator: The post office, manages postmen

Or you can visit documents page.

Running the TodoMVC example

There is a simple TodoMVC example working with DeLorean.js

bash
cd examples/todomvc
grunt
open index.html

Authors

  • Fatih Kadir Akin @f
  • Burak Can @burakcan
  • Darcy Adams @darcyadams

Contributors

  • Tom Moor @tommoor
  • Tim Branyen @tbranyen
  • Quang Van @quangv
  • James H. Edwards @incrediblesound
  • Fehmi Can Sağlam @fehmicansaglam
  • Serge van den Oever @svdoever
  • Markus Ast @rkusa
  • Peter Rumenov Denev @peterdenev

Contribution

bash
git clone [email protected]:deloreanjs/delorean.git
cd delorean
git checkout -b your-feature-branch

After you make some changes and add your test cases to the test/spec/*Spec.js files. please run:

bash
grunt
grunt test

When it's all OK, open a pull request.

License

MIT License

Name

The flux capacitor was the core component of Doctor Emmett Brown's DeLorean time machine

Links about DeLorean.js

  • http://dailyjs.com/2014/08/19/delorean-cash/
  • https://reactjsnews.com/the-state-of-flux/
  • http://facebook.github.io/react/blog/2014/10/17/community-roundup-23.html
  • https://scotch.io/tutorials/getting-to-know-flux-the-react-js-architecture
  • http://thewebplatform.libsyn.com/flux-application-architecture-react

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptagnosticfluxflux-architecture

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言