Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 617e3a4

Browse files
authored
Merge pull request solidjs#238 from backpackerhh/main
Fix typo in Control Flow/Switch docs
2 parents 5bf17cd + a7664b6 commit 617e3a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langs/it/tutorials/flow_switch/lesson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Sometimes you need to deal with conditionals with more than 2 mutual exclusive outcomes. For this case, we have the `<Switch>` and `<Match>` components modeled roughly after JavaScript's `switch`/`case`.
22

3-
It will try in order to match each condition, stopping to render the first that evaluates to true. Failing all of them, it will render the the fallback.
3+
It will try in order to match each condition, stopping to render the first that evaluates to true. Failing all of them, it will render the fallback.
44

55
In the example, we can replace our nested `<Show>` components with this:
66

0 commit comments

Comments
 (0)