Загрузка...

Troubleshooting Join Field Queries [LIVE CODING WITH PAYLOAD CMS & NEXTJS]

Learn to build full-stack apps with Payload — https://nlvcodes.com/courses/payload-essentials Reminder, this is not a step-by-step tutorial; it’s a live-coding and debugging session. PLEASE do not follow this video step-by-step. Here's a link to the repo: https://github.com/midlomarketing/midlomark

In this live coding session, I struggle with understanding how to query join fields to try and render related documents on a post. I eventually scrap this approach, but the learning experience is worth it.

Subscribe for coding tutorials and more live coding sessions!

Chapters:
00:00 - Attempting to Query Posts by Category
05:28 - Writing the Category Query And Getting the Response
07:21 - Troubleshooting Error: formattedValue.replace is not a function
08:21 - Troubleshooting undefined response from category collection
10:31 - Reviewing the data returned from the fix category response
13:08 - Attempting to Render Join Field Data as Cards
15:19 - Creating a New Card Component
25:00 - Trying Out Our Post Card Component
26:35 - Troubleshooting My Post Query
29:39 - One Last Attempt for Our Post Card

#webdevelopment #coding #livecoding #payloadcms #nextjs

Видео Troubleshooting Join Field Queries [LIVE CODING WITH PAYLOAD CMS & NEXTJS] канала Nick Vogel
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять