From 02792d3ce6fa554ef3bc448bd5f6592bd6f8b28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Archer=20St=C3=A9phane?= <2981437+stephane-archer@users.noreply.github.com> Date: Sun, 22 Dec 2024 00:35:42 +0100 Subject: [PATCH] add a tip to avoid beginer mistake --- website/docs/from_provider/quickstart.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/from_provider/quickstart.mdx b/website/docs/from_provider/quickstart.mdx index d11545fb6..6de105295 100644 --- a/website/docs/from_provider/quickstart.mdx +++ b/website/docs/from_provider/quickstart.mdx @@ -52,6 +52,11 @@ 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. ::: +:::tip +If your code requires a `create` parameter, ensure that you are using a `ChangeNotifierProvider` from the *Provider* package, not the *Riverpod* package. +Double-check the import prefixes in your code to verify the correct package is being referenced. +::: + ## Starts with *leaves* Start with Providers that do not depend on anything else, i.e. start with the *leaves* in your dependency tree.