Go to content

Is a GraphQL BFF Necessary in a Server Side React World (RSC, SAs)? - Tanmai Gopal, Hasura

Is a GraphQL BFF Necessary in a Server Side React World (RSC, SAs)? - Tanmai Gopal, Hasura With the introduction and rise in adoption of React Server Components and Server Actions (and as other UI frameworks embrace these ideas), is a GraphQL API layer that provides a "Backend For Frontend" type of abstraction going to be relevant? Where does GraphQL fit in and how might it evolve over the months to come? In this talk, I'll focus on specific technical and developer-experience benefits of a GraphQL and "server side React" overlap, along with some code examples. Next, I'll talk about areas where the value provided by GraphQL is orthogonal to the benefits of React Server Components and Server Actions. Finally, through this exploration and these examples, I'll end on an opinionated note that GraphQL's future is with Relay and its usage as a BFD 🤯 (?!), instead of a BFF. GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. Get Started Here: https://graphql.org/

September 19, 2023