29/12/2021
Letβs Build a Website with Gatsby! π³π³π³π€
What is Gatsby?
Gatsby is a static website generator based on React. Version 4 now includes SSR support.
Why Use Static Web Site Generators?
Different tech stacks have different advantages and disadvantages. The static website generators take advantage of the dynamic website generation technologies (either client-side or server-side, or both) at build time. Hence, (1) you can create data-driven rich websites, and (2) there is no overhead at runtime since we serve static pages. You can expect the best performance from the static websites.
Why Gatsby?
There are many, so many, static website generation tools, and there is no "best" generator. They all have pros and cons. Gatsby uses primarily two technologies, react for the frontend and graphql for the backend. If you have experience with building react-based apps, and/or if you plan to use react-based technologies in the future, then gatsby is a natural choice. Next.js, which started as SSR framework for React, and Gatsby, which started as Site generation tool, are now largely overlapping. Still, if your focus is more on building frontend react app with SSR support, you go with next.js. If you are primarily interested in building static sites, then you go with gatsby.
How to Get Started?
Wait unti tomorrow. π₯Ίπ₯Ίπ₯Ίπ