
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
- Tweets406
- Following18
- Followers1.1K
- Likes52
Pinned Tweet
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.
New Logux releases 🎉
The main changes across all projects: we dropped Node.js 12 and changed sync process in the Logux Core 0.8.
@bestkarthus did an amazing job of reviewing sync process and applied a few important fixes.
github.com/logux/core/pull/4…
github.com/logux/core/pull/5…
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.
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
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…
Logux Client 0.13.1 was released. @hp1_official fixed Preact export.
github.com/logux/client/issu…
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:
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…
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…
Logux has a good Vue support thanks to @euaaaio.
And now he released Logux plugin for Vue DevTools.
github.com/logux/vue-devtool…
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.
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.
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/…
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…
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.
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/…
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

















