Skip to content

Commit

Permalink
update migration docs to be more explicit (#3028)
Browse files Browse the repository at this point in the history
* update migration docs to be more explicit

* try to appease prettier

* Update website/versioned_docs/version-0.20/migration-guides/yew/from-0_19_0-to-0_20_0.mdx

Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>

Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
  • Loading branch information
SpanishPear and WorldSEnder authored Dec 11, 2022
1 parent 0ad939b commit 8b2a1c1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ The reducer function can see all previous changes at the time they are run.

You need to enable feature `csr` to use `yew::Renderer`.

For example, to use client side rendering to render a typical app component:

```rust ,ignore
yew::Renderer::<App>::new().render();
```

For more options, see [the docs](https://docs.rs/yew/0.20/yew/struct.Renderer.html).

## `ref` prop for Components

Components no longer have a `ref` prop. Trying to add a node ref to a component
Expand Down

0 comments on commit 8b2a1c1

Please sign in to comment.