anilreddykatta / redux-dag-history

This component is a Redux middleware that implements history as a directed-acyclic-graph (DAG) as opposed to the traditional stack-based implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Redux DAG History

Nonlinear History

This project is a redux middleware that provides an alternative take on application history. Independent threads of user exploration are tracked as separate "branches" in a state DAG (Directed Acyclic Graph) inspired roughly by Git version control. Some additional concepts have been implemented, including:

  • Pinning states of interest
  • Checking for state equivalency before inserting a new state
  • Tracking alternate routes to a state
  • Import/Export

About

This component is a Redux middleware that implements history as a directed-acyclic-graph (DAG) as opposed to the traditional stack-based implementation.

License:MIT License


Languages

Language:TypeScript 93.3%Language:CSS 5.2%Language:JavaScript 1.4%