Тёмный

Let's Build... A Clock! Make a digital clock with Next.js, React, Tailwind and TypeScript! 

Build SaaS with Ethan
Подписаться 7 тыс.
Просмотров 2,8 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@ethan_mick
@ethan_mick Год назад
If you still have a hydration error go here: github.com/ethanmick/lets-build-clock/pull/1 Different Node.js versions use a different Unicode character for the space, and you need to render the time only in the browser.
@chillsoul2.o
@chillsoul2.o Год назад
Man, I love your content and I really learn a lot. Explain everything from why we are getting an error and how to solve it, that is really incredible, Thank you. My favorite part that you feel human by that I mean you show us where you got that in the documentation, you googling stuff gives out that real feeling. Thanks once again, I await for more video.
@ethan_mick
@ethan_mick Год назад
Thank you so much! This is one of my older videos, but I love going through and building things end to end. Let me know what else you'd like to see!
@chillsoul2.o
@chillsoul2.o Год назад
@@ethan_mick Thank you so much, I will try to catch up with all your content. Thank you.
@Sivanth_P
@Sivanth_P Год назад
After implementing this code the errors are not gone. Hydration error is still there.
@ethan_mick
@ethan_mick Год назад
Hello, and thank you!! It looks like on certain versions of Node.js, the rendered string actually includes a different Unicode space than what the browser does. So even though the strings look the same, the underlying bytes are different. This is an annoying little bug, and it depends on the Node.js version you are on. I think I fixed it here: github.com/ethanmick/lets-build-clock/pull/1 Can you try that out and let me know if it works? I tested it, and it appears to fix all the hydration errors. I credit you in the PR; thanks!
@Sivanth_P
@Sivanth_P Год назад
​@@ethan_mick It's working. Thanks for helping.
@ethan_mick
@ethan_mick Год назад
Thank you!
@mahtabvariyani
@mahtabvariyani 10 месяцев назад
the sound of your keyboard is not letting me listen to this video till the end its so annoying ... but still i coudnt watch it but thanks for uploading
Далее
Building a Linktree Clone! (Next.js, React, Tailwind CSS)
1:20:11
Getting Started with Prismic Slice Machine and Next.js
58:25