Jabi
Jabi

Reputation: 161

Is it recommended to migrate everything to Riverpod or is it safe to use Riverpod and Provider together with Riverpod only for new features?

We have already built a complex app implementing Provider as the state management solution.

Of course there are known limitations, Riverpod is now preferable but we are trying to understand if a full migration is necessary, or is it safe to continue in Riverpod for new features whilst keeping previous Provider implementations.

Upvotes: 0

Views: 532

Answers (1)

Ruble
Ruble

Reputation: 4844

In general, there is no problem to use both solutions at the same time, because they are not connected.

You can slowly migrate toward Riverpod as needed, replacing dependencies time after time.

And yes, of course you can implement new features already using Riverpod.

Upvotes: 3

Related Questions