🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@traxjs/trax

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@traxjs/trax

Reactive state management

1.0.0
latest
Source
npm
Version published
Weekly downloads
379
-14.25%
Maintainers
1
Weekly downloads
 
Created
Source

Trax

Trax is a reactive state management library that simplifies and optimizes the update flow of React or Preact applications. Its purpose is similar to solutions like redux, mobx or preact signals.

--> Live demos: 🚀 Todo MVC, Google Search Results

Key features:

  • unique ids: trax API design ensures that every trax object gets a unique id in order to support the best troubleshooting experience through the trax dev tools (under construction)
  • asynchronous by design: trax transformations (aka. compute processors) can run synchronous or asynchronous operations. Data updates are also propagated asynchronously in order to mutualize compute operations in case of consecutive changes.
  • event stream: all trax operations are systematically logged in an event stream in oder to ease troubleshooting and simplify test synchronization (stream events can be awaited in test scripts).
  • collections: support of complex reactive chains that involve computed collections (cf. examples)

API documentation

[Documentation under construction - please check trax todomvc implementation or other examples]

Keywords

data store

FAQs

Package last updated on 09 Aug 2023

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