From 4550545e4f4d2ba07d3b6bbf6274b946983db1cc Mon Sep 17 00:00:00 2001 From: Kris Warner Date: Wed, 4 Jan 2023 10:18:38 -0500 Subject: [PATCH 1/2] Fix link/name of counters_stable --- leptos/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leptos/src/lib.rs b/leptos/src/lib.rs index a925540f5..617965da9 100644 --- a/leptos/src/lib.rs +++ b/leptos/src/lib.rs @@ -18,7 +18,7 @@ //! 1. You need to enable the `"stable"` flag in `Cargo.toml`: `leptos = { version = "0.0", features = ["stable"] }` //! 2. `nightly` enables the function call syntax for accessing and setting signals. If you’re using `stable`, //! you’ll just call `.get()`, `.set()`, or `.update()` manually. Check out the -//! [`counters-stable` example](https://github.com/gbj/leptos/blob/main/examples/counters-stable/src/main.rs) +//! [`counters_stable` example](https://github.com/gbj/leptos/blob/main/examples/counters_stable/src/main.rs) //! for examples of the correct API. //! //! # Learning by Example @@ -147,4 +147,4 @@ pub use transition::*; pub use leptos_reactive::debug_warn; -extern crate self as leptos; \ No newline at end of file +extern crate self as leptos; From dcca6e4e17e22a23af5038eab7efc9d6f60755d9 Mon Sep 17 00:00:00 2001 From: Kris Warner Date: Wed, 4 Jan 2023 10:25:41 -0500 Subject: [PATCH 2/2] Fix name/link for parent_child --- leptos/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leptos/src/lib.rs b/leptos/src/lib.rs index 617965da9..a32ae0fee 100644 --- a/leptos/src/lib.rs +++ b/leptos/src/lib.rs @@ -29,7 +29,7 @@ //! counter example, showing the basics of client-side rendering and reactive DOM updates //! - [`counters`](https://github.com/gbj/leptos/tree/main/examples/counter) introduces parent-child //! communication via contexts, and the `` component for efficient keyed list updates. -//! - [`parent-child`](https://github.com/gbj/leptos/tree/main/examples/parent-child) shows four different +//! - [`parent_child`](https://github.com/gbj/leptos/tree/main/examples/parent_child) shows four different //! ways a parent component can communicate with a child, including passing a closure, context, and more //! - [`todomvc`](https://github.com/gbj/leptos/tree/main/examples/todomvc) implements the classic to-do //! app in Leptos. This is a good example of a complete, simple app. In particular, you might want to