In Solid, a "fallback" is a view which is rendered when a For node is passed an array of zero length. This is an extremely useful feature, as it allows you to render messages such as "No results found" without needing a separate if-statement.
This could be done via a method on the For node, such as .fallback(view).
In Solid, a "fallback" is a view which is rendered when a
For
node is passed an array of zero length. This is an extremely useful feature, as it allows you to render messages such as "No results found" without needing a separate if-statement.This could be done via a method on the
For
node, such as.fallback(view)
.