Update errors.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/15766/head
Elliott Johnson 1 year ago committed by GitHub
parent 5233c8e4dd
commit aa50bd79c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -54,7 +54,7 @@ Certain lifecycle methods can only be used during component initialisation. To f
## snippet_without_render_tag
> Attempted to render a snippet without a `{@render}` block. This would cause the snippet to be rendered directly to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.
> Attempted to render a snippet without a `{@render}` block. This would cause the snippet code to be stringified instead of its content being rendered to the DOM. To fix this, change `{snippet}` to `{@render snippet()}`.
A component throwing this error will look something like this (`children` is not being rendered):

Loading…
Cancel
Save