leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
89 stars 68 forks source link

Premature Reference to `create_resource` in Section 4.2 #107

Open NCura opened 5 months ago

NCura commented 5 months ago

In 4.2. Responding to Changes with create_effect, at the very end of the page, the book is saying

Like create_resource, watch takes a first argument ...

However, create_resource hasn't been introduced at this point. The first mention of create_resource is in 6.1. Loading Data with Resources. This might be due to a reordering of the content. It's a minor issue, but I wanted to bring it to your attention in case the phrase needs to be updated for clarity.