Skip to content

Commit

Permalink
Merge pull request #3431 from kevalvavaliya/kevalvavaliya-doc-patch
Browse files Browse the repository at this point in the history
fixed typos in doc
  • Loading branch information
rrousselGit committed Mar 18, 2024
2 parents 74c588f + 6b37402 commit 6557620
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/flutter_riverpod/CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.5.2 - 2024-03-18

- Fixed various typos in the documentation (thanks to @kevalvavaliya)

## 2.5.1 - 2024-03-10

- Deprecate `ProviderScope.parent` due to fundamentally not working.
Expand Down
6 changes: 3 additions & 3 deletions website/docs/from_provider/quickstart.mdx
Expand Up @@ -46,7 +46,7 @@ and it is not the best way to use Riverpod, but it's a gentle and very easy way

:::tip
There is no rush to *immediately* try to change your `ChangeNotifier`s into the more modern [Riverpod's providers].
Some requite a bit of a paradigm shift, so it may be difficult to do initially.
Some require a bit of a paradigm shift, so it may be difficult to do initially.

Take your time, as it is important to get yourself familiar with Riverpod first;
you'll quickly find out that *almost* all Providers from pkg:provider have a strict equivalent in pkg:riverpod.
Expand All @@ -66,7 +66,7 @@ This should boost and simplify the migration process, while also minimizing / tr
*Keep in mind that it is entirely possible to use both Provider and Riverpod at the same time.*

Indeed, using import aliases, it is possible to use the two APIs altogether.
This is also great for readibilty and it removes any ambiguous API usage.
This is also great for readability and it removes any ambiguous API usage.

If you plan on doing this, consider using import aliases for each Provider import in your codebase.

Expand Down Expand Up @@ -131,7 +131,7 @@ you'll simply need to write `ref.watch` if you want to declare a direct dependen
If anything, combining values with Riverpod should feel simpler and straightforward; thus, the migration should greatly
simplify your code.

Furthermore, there are no shanenigans about combining more than two providers together:
Furthermore, there are no shenanigans about combining more than two providers together:
just add another `ref.watch` and you'll be good to go.

## Eager initialization
Expand Down

0 comments on commit 6557620

Please sign in to comment.