electric
electric copied to clipboard
Sync little subsets of your Postgres data into local apps and services.
I tried deploying to Fly from scratch by following instructions on this docs page: https://electric-sql.com/docs/integrations/fly. Some notes: 1. Fly's Supabase Postgres is no longer available - https://github.com/orgs/supabase/discussions/33413. 2. The configured...
We allude to it in the docs with documenting that you can use an AbortController but we should make it more explicit with some narrative and examples of how to...
The number CPUSs, memory, hard disk, etc. it's hard to extrapolate from them otherwise. https://electric-sql.com/docs/reference/benchmarks
I appreciate this may not work with caching but … When developing against a larger initial sync, it’s natural to want to know / display progress. When we do an...
### Background When a shape is first created, Electric does two key things: 1. Start buffering transactions coming in from the PG replication stream that will be included in the...
I am making an app using a similar loading pattern to the LinearLite example. However the usage of useLiveQuery with liveShapes as in the example does not seem to work...
Initial load works great. Subsequent load I get next.js hydration mismatch issue. This is my component code. ```tsx 'use client' import {useShape} from '@electric-sql/react' export default function TransactionList() { const...
I dedicated some time to experimenting with the code above and made several important enhancements: 1. **Refactoring ElectricScripts:** - I moved `ElectricScripts` inside `ElectricProvider`. This change allows `ElectricProvider` to manage...
To reproduce, add the following https://github.com/electric-sql/electric/compare/main...AntonOfTheWoods:electric:generated_bug and do a normal run of the `todo-app` example. Any insertion (e.g, via the demo web interface) causes the following message in the log:...
this is related to https://github.com/electric-sql/electric/pull/2238 in that it allows you to reproduce the issue a bit better Probably easier to review with whitespace turned off - https://github.com/electric-sql/electric/pull/2239/files?w=1 # steps to...