beckend / leptos-hydration-bug-1

SSR hydration bug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leptos with Axum + TailwindCSS Tempate

This is a template demonstrating how to integrate TailwindCSS with the Leptos web framework, Axum server, and the cargo-leptos tool.

Getting Started

See the Examples README for setup and run instructions.

Reproduce hydration bug:

edit ./src/client/routes/home.rs On lines 14-24 there are elements ready to be used, uncomment any element you want, and see the SSR bug in browser console.

About

SSR hydration bug


Languages

Language:Rust 90.2%Language:TypeScript 5.8%Language:SCSS 2.0%Language:JavaScript 1.9%Language:CSS 0.1%