mastodon.uno è uno dei tanti server Mastodon indipendenti che puoi usare per partecipare al fediverso.
Mastodon.Uno è la principale comunità mastodon italiana. Con 77.000 iscritti è il più grande nodo Mastodon italiano: anima ambientalista a supporto della privacy e del mondo Open Source.

Statistiche del server:

6,7K
utenti attivi

#react

70 post58 partecipanti6 post oggi

🌘 透過建立 SSR React 專案來理解水合錯誤
➤ 瞭解伺服器端渲染與客戶端水合的關鍵概念
propelauth.com/post/understand
本文探討了 React 應用程式中常見的水合錯誤(Hydration Error)及其原因。透過建立一個簡單的 React / Express 應用程式,文章逐步說明瞭伺服器端渲染(SSR)的原理,以及當伺服器渲染的 HTML 與客戶端渲染的 UI 不一致時,會發生的問題。文章詳細解釋了 `hydrateRoot` 函數的作用,以及如何避免因伺服器與客戶端數據不匹配而導致的錯誤,並強調了及時處理這些錯誤的重要性,以避免潛在的安全和效能問題。
+ 這篇文章清楚地解釋了水合錯誤,對初學者來說很有幫助,讓我更瞭解 React SSR 的運作方式。
+ 文章實例講解非常棒,能實際操作,更深入地理解水合錯誤的原理和解決方案。
#React #SSR #前端開發 #水合錯誤

www.propelauth.com · Understanding Hydration Errors by building a SSR React ProjectIf you’ve written React code in any server-rendered framework, you’ve almost certainly gotten a hydration error. These look like: Text content does not match server-rendered HTML or Error: Hydration failed because the initial UI does not match what was rendered on the server And after the first time you see this, you quickly realize you can just dismiss it and move on... kind of odd for an error message that’s so in-your-face (later on, we’ll see that you might not want to dismiss them entir

Hello Fediverse, time for an introduction! My name is Matthew (or Matt, Mattie), and I'm a non-binary software engineer based in the UK. I've been on fedi before but I've decided to make a presence here where I can share my more professional stuff. I'll be posting about: 

- Typescript, React, Astro and Webdev
- Unreal Engine, C++ and game dev
- Devops and Linux, primarily Opensuse

Feel free to follow me!