Flux by TSWORLDTECH

Local-first infrastructurefor web applications.

Flux helps web applications retain access to data, handle changes while offline, and sync with existing backends when connectivity returns. It also coordinates data activity across browser tabs to reduce unnecessary network requests.

APIFluxTab 1onlineTab 2onlineTab 3offline
In syncOffline
Why We Build Our Own Technology

We build beyondindividual projects.

TSWORLDTECH works with businesses to solve their technology problems. We also develop our own software products and infrastructure to address challenges that extend beyond a single client or application.

Building our own technology gives us the opportunity to investigate difficult problems, test ideas and develop solutions that can serve a wider range of applications.

Client services and our own products are two parts of the same company, not competing identities.

Featured Product

Make your web applications lessdependent on constant server communication.

Flux is a client-side data infrastructure layer for web applications. It works with your existing backend to support local data access, offline changes, synchronisation and coordination across browser tabs.

Local Data Persistence

Keep application data available on the device between visits, subject to browser storage and application constraints.

Offline Mutations

Queue supported data changes while offline and replay them when connectivity returns.

Cross-Tab Coordination

Coordinate relevant data activity across browser tabs to reduce duplicated work and unnecessary connections.

Realtime Adapters

Integrate supported realtime transports and services into Flux's data coordination model.

Conflict Handling

Detect certain conflicts between local changes and server data so applications can handle them according to their own requirements.

Reduced Network Overhead

Reuse local data and coordinate requests to reduce unnecessary backend communication.

Product demonstration

Keep working through a connection interruption

Go offline, make a change, then reconnect. Existing data stays on screen, and pending changes sync once the connection returns.

A simplified illustration of the behaviour described above, not the live engine.

Online
  • Customer recordSynced
  • Invoice draftSynced
  • Inventory countSynced
Changes sync as you make them.
The Technology Behind Flux

Built to work withyour existing stack.

Adopt Flux without replacing your application architecture. It sits alongside your current backend and framework.

  • React and Next.js

    Integrations for React and Next.js applications.

  • Local persistence and offline handling

    Application data is stored on the device and changes made offline are queued.

  • Realtime integrations

    Adapters for Supabase, Socket.IO, SSE and WebSocket.

  • Backend compatibility

    Designed to work with your existing backend rather than replace it.

  • Documentation

    Guides, core concepts and API reference for getting Flux running.

Only integrations that are supported today are listed here. Setup guides, the API reference and compatibility details live in the documentation.

Read the Documentation →
next.config.ts
import { withFlux } from '@tsworldtech/flux-next'

export default withFlux({
  precacheRoutes: ['/', '/offline'],
  dynamicRoutePrefixes: [
    '/products/',
    '/blog/',
  ],
})
Beyond Flux

We're building forwhat comes next.

TSWORLDTECH continues to explore and develop technology around local-first and offline-capable applications. Flux is where that work starts.

  • Planned

    More framework integrations

    We plan to extend Flux beyond React and Next.js. Availability will be announced when integrations are ready.

  • Exploring

    Beyond the browser

    We're exploring how local-first infrastructure could extend to other platforms, including mobile.

Need technology built for your business?

TSWORLDTECH works with businesses to design, develop and implement technology solutions around their needs. Alongside our own products, we continue to deliver engineering services across digital products, business systems and automation.