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.
Svelte doesn't render boolean attributes properly on the server side.
For instance, for a button
This will render (when disabled = false)
which means the button actually is disabled
Here's a gist with an example and the ssr code it generates.