Logux (@logux_io) header
Logux (@logux_io) profile picture

Framework for real-time web apps with optimistic UI, collaboration, edit conflicts resolution with CRDT and live updates. By @sitnikcode and @evilmartians.

Joined November 2016
Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)Photo by Logux (@logux_io)
Logux is a framework to build real-time web apps with: — Collaboration and CRDT conflict resolutions — Real-time updates by WebSocket — Optimistic UI and Offline data editing It hides all complexity by replacing the idea of request/response to background action log sync.
1
1
9
The release name of Logux Core 0.8 is Ա (Ayb, the first letter of Armenian alphabet). Armenia with many other countries hosted many refugees from Ukraine, Russia and Belarus and were very welcome to them. Ayb calligraphy by Martin Vaneskeheian.
1
4
2
Logux Server 0.11 was released. We added helpers to add CRDT Map conflict resolution: logux.io/node-api/#globals-a… All changes: github.com/logux/server/blob… The release name is “Five Pebbles” in honor of AI from an extraordinary game Rain World.
We finally started to work on examples of how uses Logux on client and server. @mikhinyuri added TodoMVC example. github.com/logux/examples Docs are polishing is coming, it is only the start of the work.
5
1
10
Logux Core 0.7.3 was released with fix for ping timeout in background tabs in Chrome. Chrome applies throttle to setInterval in background tabs: up to once per minute. We increased ping timeout to not lose WS connection in this environment. github.com/logux/logux/issue…
1
All Logux repositories was moved from Yarn 1 to @pnpmjs. We also added pnpm examples to docs on logux.io/.
6
3
43
Logux Client 0.14 was released with migration to Nano Stores 0.5 xitter.gq/sitnikcode/status/1452…
We released Nano Stores 0.5, a new version of tiny (200-900 bytes) state manager for React/Vue/Svelte, designed to: — Move logic from components to stores and separate application logic and UI — Support tree-shaking github.com/nanostores/nanost…
1
2
Logux Client 0.13 was released. Now it uses Nano Stores 0.4. We wrapped all async operations to Nano Stores’ effects. With `await allEffects()` you can remove `await delay(50)` from SyncMap tests and make tests faster and more stable. xitter.gq/sitnikcode/status/1419…
I just release a big release of my new state manager, Nano Stores 0.4. It is minimalistic (172 bytes!) and was created specially to move logic from components into stores. github.com/nanostores/nanost… Changes:
4
7
Logux Core 0.7.1 was released with small re-connection fix. When a WS server is down, clients need a random delay before re-connection attempt to avoid backoff when clients connect at the same time. @palkan_tula helped to improve this mechanics xitter.gq/any_cable/status/14174…
Experimenting with different WebSocket reconnection strategies
3
We finished our second sprint, bēt. The main feature is our own Logux State state manager for client-side. It allows us to hide CRDT implementation into high-level stores. github.com/logux/logux/miles…
1
1
2
5
Common changes for all projects: — We moved to ESM. You need to moved your app to ESM too to use Logux. ESM chain reaction was already started in npm. — Node.js 10 support was dropped. — We replaced `type` to `interface` in TypeScript declaration for better performance.
1
1
Logux has a good Vue support thanks to @euaaaio. And now he released Logux plugin for Vue DevTools. github.com/logux/vue-devtool…
8
11
In the next Logux Server, you will be able to define an HTTP request callback. It is useful to have both Web Socket action processing and HttpOnly-cookie token-based authentication in a single server.
3
8
Logux State now has local() and derived() syntax sugar to create stores without class API. The example shows one of the key features of your state manager. Stores are loaded to the memory only until somebody subscribed for them.
3
5
Logux State got PersistentMap to create stores and keep their content in localStorage. You can use them to save light/dark theme settings or user ID. github.com/logux/state/tree/…
3
4
Logux State got offline cache support. API is very simple since log-based architecture is great for offline. With a special flag, Logux will not clean the log from model’s actions on unsubscribing (and the log can be stored in IndexedDB). github.com/logux/state/commi…
2
6
A nice Proxy use case from Logux State. Don’t forget checking isLoading while you are loading anything from the server. To protect a developer from making mistakes, in development we wrap a model into Proxy. It throws an error on accessing any properties before isLoading.
1
2
10
Logux was created to resolve networking API. For instance, in AJAX/GraphQL it’s easy to forget showing 404/403 error pages. Logux State will force developers to wrap app with <ChannelErrors NotFound={Page 404} AccessDenied={Page403}>. github.com/logux/state/blob/…
3
6
Logux Client 0.9.3 was released. @zumkorn fixed browser tabs synchronization after user ID changing by client.changeUser(). github.com/logux/client/pull…
3
Another day, another Logux State API refactoring. It is a multi-store state manager because of performance reasons. Now we have 2 types of stores: 1. LocalStore: singleton and initilizes immediately (e. g. Router). 2. RemoteStore: has an ID, loads state from a remote source.
3
5