You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to this, including the `by` key, can help you perform iterative updates within an array, which can be useful when you want to update elements at regular intervals.
299
-
This key defines the step size for index increments, similar to a [`for` loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for):
308
+
For arrays specifically, you can specify a range of indices via an object
309
+
with `from` and `to` keys (both of which are inclusive).
310
+
For example, assuming `store.users` is an array again,
311
+
you can set the `loggedIn` state for all users except index 0 as follows:
Copy file name to clipboardExpand all lines: src/routes/solid-start/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ title: Overview
7
7
SolidStart is an open source meta-framework designed to unify components that make up a web application.
8
8
It is built on top of [Solid](/) and uses [Vinxi](https://vinxi.vercel.app/), an agnostic Framework Bundler that combines the power of [Vite](https://vitejs.dev) and [Nitro](https://nitro.unjs.io/).
9
9
10
-
Start avoids being opinionated by only providing the fewest amount of pieces to get you started.
10
+
Start avoids being opinionated by only providing the fewest pieces to get you started.
11
11
While templates are available that include many of the expected tools, SolidStart itself does not ship with a Router or Metadata library.
12
12
Rather, it leaves that open for you to use any library you want.
0 commit comments