Best of Fly.io — 2022
- 1
- 2
Fly.io·4y
A love letter to React
React came with a reactive HTML-aware component model for building UIs and colocated markup directly in the app code. Phoenix borrowed a lot from React when we first shipped LiveView in 2018, but only recently have we gone all-in with an HTML- aware component system in Phoenix 1.7. The advantage of this approach is a natural composition of static HTML tags alongside dynamic components and logic.
- 3
Fly.io·4y
Introducing LiteFS
LiteFS works by interposing a very thin virtual file system between your app and your on-disk database file. The FUSE file system solves many of these usability issues by being a single point that all database calls go through. LiteFS also needs to run an API server to replicate data between nodes. It uses Hashicorp's Consul to determine the primary node in your cluster.