Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Gatsby Unified Routes, with Blaine Kasten

  • Gatsby
  • 2020-06-23
  • 1135
Gatsby Unified Routes, with Blaine Kasten
gatsbyjsblaine kastenroutes
  • ok logo

Скачать Gatsby Unified Routes, with Blaine Kasten бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Gatsby Unified Routes, with Blaine Kasten или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Gatsby Unified Routes, with Blaine Kasten бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Gatsby Unified Routes, with Blaine Kasten

Blaine Kasten is a Staff Software Engineer on the Core team at Gatsby.

A crucial part of building any website is the routing structure: what pages exist and how they’re built. One way to manage routes is the file system: components inside `src/pages` directory are turned into pages at build time. However, a few common use cases, including client-side routing and generating pages for each element of a collection, are currently not possible using the file system. `createPages` is a low-level API that allows you to do anything related to page creation, but it’s meant to be an advanced feature. Website creators shouldn’t have to delve into Gatsby Node APIs to accomplish key goals. Blaine introduced Unified Routing, a suite of new APIs and conventions to make the file system the primary way of building pages.

Unified Routing is still in development and builds on the fundamental `createPages` API. Now, dynamic URL segments, i.e. client-side routing, can be indicated by creating a `/src/pages/order/[id].js` file, as opposed to using the `matchPath` property in the `createPage` API. The id is given to the component at runtime through a key called `params`. Collection Routing addresses the other use case. To generate pages for every collection item, we want to fetch data and generate pages at build time. The export statement will use `createPagesFromData`, a macro that will create the specified component for every entry in the data queried, e.g. `/product/Burger`, `/product/Chicken`. An additional benefit of Unified Routing is that you can see what routes your site has at a glance.

Ready to try it out? Try our canary release by running yarn install gatsby@unifiedroutes and please share your feedback on our RFC (https://gatsby.dev/unified-routes-rfc). Lastly, don't forget to connect with Blaine on Twitter @blainekasten!

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]