Repository navigation
YouTube: PGlite React Live Queries in Multi Tab Worker TypeScript Vite #959
coworkersimulator
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Some of you may find this interesting. I've created a PGlite React multi-tab worker web application with live queries based on the create-vite TypeScript template. It greatly reduces the use of React state in the user interface and multi-tab synchronization is automatic because all state happens in the database. The user interface is updated via live queries.
YouTube: https://www.youtube.com/watch?v=lcPRAaEe3Zw
Demo: https://coworkersimulator.github.io/vite-react-pglite/
Source Code: https://github.com/coworkersimulator/vite-react-pglite
All reactions