-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Svelte doesn't render boolean attributes properly on the server side.
For instance, for a button
<button :disabled>Hello</button>
This will render (when disabled = false)
<button disabled="false"></button>
which means the button actually is disabled
Here's a gist with an example and the ssr code it generates.