[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog post: Local-first with your existing API. #2006

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thruflo
Copy link
Contributor
@thruflo thruflo commented Nov 20, 2024

Sketched out the intro here: https://deploy-preview-2006--electric-next.netlify.app/blog/2024/11/21/local-first-with-your-existing-api

Pausing drafting further pending more example content and write patterns.

Copy link
netlify bot commented Nov 20, 2024

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit e9da360
🔍 Latest deploy log https://app.netlify.com/sites/electric-next/deploys/673defd7f8b6ec0008802cfc
😎 Deploy Preview https://deploy-preview-2006--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

</p>
</div>

One of the exciting things about [local-first software](/use-cases/local-first-software) is the potential to eliminate APIs and microservices. Instead of coding across the network, you code against a local store, data syncs in the background and your stack is suddenly much simpler.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this third person?

Suggested change
One of the exciting things about [local-first software](/use-cases/local-first-software) is the potential to eliminate APIs and microservices. Instead of coding across the network, you code against a local store, data syncs in the background and your stack is suddenly much simpler.
One reason many people are exciting about [local-first software](/use-cases/local-first-software) is the potential to eliminate APIs and microservices. Instead of coding across the network, you code against a local store, data syncs in the background and your stack is suddenly much simpler.


This is why we work with [any data model](/docs/guides/deployment#data-model-compatibility) in [any standard Postgres](/docs/guides/deployment#_1-running-postgres), allow you to sync data into anything from a [JavaScript object](/docs/api/clients/typescript#shape) to a [local database](/product/pglite) and focus on providing [composable primitives](/blog/2024/07/17/electric-next) that work with your existing stack.

As a result, with Electric, you can develop local-first apps incrementally, using your existing API. So you get the benefits of super snappy apps that feel instant to use, collaborative, multi-user sync, local, offline data access for reads and writes and locally encrypted data for security and privacy.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding some concrete examples of people adopting electric incrementally would help e.g.:

  • trigger.dev adding real-time SDK
  • ottogrid swapping out loading sheet data to use electric
  • team that shipped live notifications

anywhere that you need real-time or want to load mbs of data — syncing makes a big diff & you can cherry-pick specific types of data or screens to convert first.

Copy link
Contributor
@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great post! Very helpful framing for both local-first folks & people in the broader engineering world more interested in specific benefits e.g. just a better real-time stack or the idea of loading more data into the client appeals to them but can't or don't want to go all in on a more vertically integrated tool.

@thruflo
Copy link
Contributor Author
thruflo commented Nov 20, 2024

@KyleAMathews ta, will incorporate when looping back to this 🙏

@KyleAMathews
Copy link
Contributor

Next.js ran/runs a very effective incremental adoption strategy. Their og blog post is pretty good here

https://nextjs.org/blog/incremental-adoption

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants