Company
Date Published
Author
Praveen Durairaju
Word count
792
Language
English
Hacker News points
None

Summary

The text discusses building and deploying a real-time application using Svelte 3 and GraphQL, specifically using svelte-apollo and Hasura Cloud, and deploying it on the Now 2.0 platform. Svelte is highlighted for its efficient compilation of components into imperative code, resulting in smaller bundles without dependencies on a virtual DOM, which enhances performance and simplifies state management. The process involves setting up a Hasura Cloud project for real-time GraphQL APIs, cloning a demo app to illustrate fetching and updating data using GraphQL queries, mutations, and subscriptions, and deploying the app using Now CLI. The text emphasizes Svelte's minimal learning curve and its advantages over traditional frameworks like React and Vue due to its reduced boilerplate code and performance benefits. Additionally, it mentions the SSR framework for Svelte, called Sapper, for those concerned with SEO, and encourages readers to try the demo and reach out for support via various platforms.