Introducing Embrace: A Framework for Building Declarative UIs
Approaches to web development are always evolving. That’s why at Grammarly we’ve sometimes adopted new open source libraries—and other times we’ve built our own to solve the unique challenges we face. For instance, the Grammarly Editor has a complex UI structure, and being data-driven as a company means we want to support many simultaneous experiments without creating a mess of spaghetti code. A few years ago, we released Focal , a framework for immutable and observable state management with TypeScript . Now we’re happy to announce a new UI framework we’ve been busy building and testing for the last year: Embrace . Embrace is a type-safe, declarative UI engine written on top of React and Focal. It lets you compose UI components without having to write boilerplate code or worry about routing states. You can represent your UI as data so that it’s easily patched, allowing you to run hundreds of front-end experiments easily. Shape the way millions of people commun...