Home / Companies / Gatsby / Blog / October 2018

October 2018 Summaries

12 posts from Gatsby

Filter
Month: Year:
Post Summaries Back to Blog
The article by Amberley Romo explores how to use Gatsby without relying on its GraphQL data layer, focusing on working with "unstructured data" to create web pages. Typically, Gatsby's powerful GraphQL layer is used to manage data from various sources, acting as a bridge between a site's presentation layer and its data sources. However, Romo demonstrates an alternative approach by directly fetching data from external APIs and using Gatsby's createPages API to build pages, bypassing the GraphQL layer. This method is illustrated through an example that uses data from the PokéAPI to generate pages for Pokémon and their abilities. While this approach may be more straightforward for beginners or prototyping, it lacks the optimizations and conveniences offered by Gatsby's data layer, such as declarative data specifications, reduced frontend complexity, and enhanced performance from selecting only necessary data. The article highlights the trade-offs between using unstructured data and Gatsby's data layer, encouraging developers to consider their needs when choosing an approach.
Oct 25, 2018 1,137 words in the original blog post.
Michael Holtzman discusses the advantages of using Visual Studio Code (VS Code) for developing JavaScript projects, particularly those involving Gatsby.js, and offers various tips, tricks, and extensions to enhance productivity. He emphasizes the importance of extensions like ESLint and Prettier for code linting and formatting, which streamline the development process by ensuring adherence to existing code standards. Holtzman also highlights the capabilities of VS Code's built-in debugger, which can be enhanced by the Debugger for Chrome extension, allowing for more effective runtime debugging. While the focus is on Gatsby.js, the practices and configurations mentioned are applicable to any modern JavaScript web project. Holtzman encourages developers to explore the VS Code Extensions Marketplace for additional plugins and to contribute to open issues on GitHub, leveraging the techniques shared to ease the authoring of fixes and new features.
Oct 22, 2018 862 words in the original blog post.
In the concluding part of a series on creating modern content experiences, Sam Bhagwat explores the interconnected trends in content management, web development, and website performance, emphasizing the necessity for integration across these areas to achieve a content mesh. The content mesh concept involves selecting modular CMS systems, choosing a UI development library like React or Angular, implementing a performance strategy through payload and delivery optimization, and integrating these components to deliver fast, engaging websites. Among various options, Gatsby is highlighted as a comprehensive solution that offers out-of-the-box CMS integrations, a modern development framework, and superior performance capabilities. The text underscores the evolution from monolithic to modular CMS architectures, posing the challenge of unifying diverse tools and systems to create incredible digital experiences.
Oct 18, 2018 898 words in the original blog post.
Mobile traffic now constitutes over half of all site visits, and the performance of mobile websites has become a crucial factor in retaining visitors, as more than half of mobile users abandon sites that take over three seconds to load. Despite advancements in connection speed and processing power, average page load times have not improved due to increased site complexity and heavier page weights. Performance optimization is essential but challenging, requiring both payload and delivery optimizations, such as reducing image and JavaScript weight and utilizing content delivery networks (CDNs). These optimizations can be costly and time-consuming for teams to implement, often leading to performance issues being overlooked in favor of other priorities. Framework-level solutions, like Gatsby, which integrate performance optimization into their design, offer a way to address these challenges by ensuring both delivery and payload optimizations are built-in, ultimately enhancing user engagement and potentially increasing sales by reducing latency.
Oct 16, 2018 1,502 words in the original blog post.
Gatsby, often perceived as a tool for static site generation, is also capable of supporting dynamic web applications by leveraging React hydration and other modern web technologies. Although the distinction between static sites and apps can be ambiguous, dynamic content often defines the app-like nature of a project. Gatsby provides a robust framework for building both static and dynamic applications by integrating tools such as React, GraphQL, and headless CMSes to enhance performance and developer experience. Through a process called React hydration, static HTML generated by Gatsby can be transformed into interactive applications that support features like user authentication and remote data interaction. The upcoming webinar aims to clarify Gatsby's capabilities in dynamic app development, providing practical examples such as e-commerce platforms and data-driven applications, and offering insights into when to choose Gatsby over other server-rendered or hybrid approaches.
Oct 15, 2018 806 words in the original blog post.
Since the start of Hacktoberfest on October 1st, the Gatsby open-source community has experienced a significant increase in documentation contributions, with 31 pull requests merged in just the first five days. This surge of contributions has prompted the creation of the @gatsbyjs/docs team on GitHub, which ensures consistent decision-making regarding documentation edits through a newly developed "docs decision tree." This tool helps standardize the process by which documentation is evaluated and integrated, ensuring alignment with agreed-upon principles and avoiding biases. The decision tree provides criteria for whether a document should be included on the Gatsby site and offers guidelines for handling proposed changes, such as creating new documents or categories. Contributors are encouraged to focus on SEO-friendly naming conventions and to adhere to the developer journey framework. The community is invited to participate in the ongoing discussion about the Docs Decision Tree RFC until October 31st, and the initiative has been met with enthusiasm and gratitude from the Gatsby team.
Oct 12, 2018 856 words in the original blog post.
Modern web development has evolved significantly with the emergence of frameworks like React and Angular, which address many challenges inherent in traditional content management systems (CMSs). These frameworks have gained popularity due to their ability to improve stability, enhance performance, and promote code reusability through modular and componentized structures. They facilitate the creation of visually rich and low-defect frontends, thanks to features such as reusable UIs, local application state management, and a declarative virtual DOM. As a result, React and Angular have become integral to the development of award-winning websites and have revolutionized the landscape by allowing headless CMS setups to provide fresh user experiences without compromising on robust content management workflows. Moreover, the adoption of these frameworks has expanded rapidly, even being utilized by major Fortune 500 companies, thereby transforming the web from a simple document-based model to a sophisticated platform for rich web experiences.
Oct 11, 2018 834 words in the original blog post.
In "Journey to the Content Mesh, Part 2: Unbundling of the CMS," Sam Bhagwat explores the evolving landscape of content management systems (CMS) in response to increasing web user expectations and competitive pressures from companies like Amazon and digital-native brands. The article highlights the challenges faced by enterprises using traditional CMSs, such as Sitecore or Adobe Experience Manager, which offer generic and outdated solutions compared to more modern, modular, and microservices-driven alternatives. Bhagwat illustrates how businesses are transitioning to an API-driven approach, opting for best-of-breed tools like WordPress, React, and Contentful to enhance content delivery and user experience. This shift allows companies to integrate specialized services, making them question the value of sticking with single-vendor suites. The series promises to further explore the rise of content mesh frameworks that facilitate integration, improve development practices, and address mobile performance challenges, emphasizing the importance of selecting a flexible content architecture.
Oct 10, 2018 657 words in the original blog post.
Hacktoberfest, a month-long event celebrating open source software organized by DigitalOcean in collaboration with GitHub and Twilio, encourages contributions by motivating projects to label contributor-friendly issues and pseudo-gamifying participation. Participants must sign up and submit five quality pull requests to public GitHub repositories within October to potentially earn a t-shirt. Gatsby is actively participating in Hacktoberfest by offering a welcoming environment for contributors, especially first-timers, by curating issues with clearly defined scopes that require minimal background knowledge. As part of its efforts, Gatsby continuously adds new issues throughout the month and provides support to contributors during the process. The initiative also coincides with Gatsby reaching a milestone of over 1,000 contributors, further emphasizing its commitment to fostering a vibrant open-source community.
Oct 09, 2018 626 words in the original blog post.
In "Delivering Modern Website Experiences: The Journey to a Content Mesh," Sam Bhagwat discusses the evolution of content management systems (CMS) from monolithic, enterprise solutions to more dynamic, modular systems known as the "content mesh." This new approach integrates specialized tools for specific functions such as e-commerce, analytics, and personalization, allowing for more efficient and high-performance website delivery. The content mesh concept is driven by three major technological advancements: the shift from monolithic to modular CMS, the adoption of modern UI frameworks like React, and the growing necessity for high-performance websites as mobile traffic increases. These changes benefit different stakeholders—marketing, IT/development, and end-users—by facilitating rapid iteration and maintaining content creators' workflows, while reducing the complexity of integrating various systems. As the series progresses, Bhagwat plans to delve deeper into these trends, highlighting technologies like headless CMS and exploring how platforms like Gatsby can serve as comprehensive solutions in this new landscape.
Oct 04, 2018 766 words in the original blog post.
Gatsby v2 aims to enhance the already fast performance of Gatsby v1 by reducing JavaScript load and leveraging improved libraries like React 16 and @reach/router, which collectively decrease client runtime size by 31%. The article discusses the importance of measuring site speed with tools like Lighthouse and WebPagetest, which provide metrics such as Time to Interactive (TTI) and Speed Index to ensure a site is truly fast beyond just appearances. Gatsby v2 builds on the solid foundation of its predecessor by maintaining an optimized default configuration and offering a pluggable architecture, thereby improving speed and developer experience. By following the migration guide, users can upgrade to Gatsby v2 to achieve these performance gains, ultimately delivering a faster, more interactive experience to end users.
Oct 03, 2018 1,586 words in the original blog post.
Justin Hall, a Senior Web Developer at SendGrid, revamped the SendGrid Knowledge Center using Gatsby, significantly improving its performance and user experience. Faced with an outdated and complex site that confused users, particularly non-technical email marketers, Justin opted for Gatsby due to its support for Markdown, familiarity with node APIs, and its active community. The transition to Gatsby led to a 20% increase in initial page load speed and a 100% improvement in page transitions, thanks to its pre-rendering capabilities and GraphQL integration, which automated content updates. The revamped site better catered to its target personas, developers and email marketers, by delivering technical content and easy-to-understand references efficiently, thus enhancing customer engagement and success with SendGrid's communication platform.
Oct 02, 2018 982 words in the original blog post.