Comments (7)
@essarn There is no Computed
in 0.6.0-dev anymore. Instead you can just use Provider
and i think you want to context.read($provider)
in initState
from riverpod.
No
Consider using 0.6.0-dev
from riverpod.
Found a workaround for my problem but how would it work in the dev build?
from riverpod.
Indeed 👍
Consider posting your workaround here for others.
But overall, this issue shouldn't be an issue anymore as part of 0.6.0-dev, so I'll close this
from riverpod.
Hello again, just one question regarding the original question.
Can you give an example of an computed equivalent with using a provider?
from riverpod.
You can see the to-do example, with the "filtered Todos" provider
from riverpod.
You can see the to-do example, with the "filtered Todos" provider
Thanks!
from riverpod.
Related Issues (20)
- FutureProvider the ref.onCancel() is called but ref.onDispose() is not HOT 6
- How do you cause a streamProvider returning firebase.instance.authStateChanges() HOT 1
- Providers using watch are not disposed before listen is fired HOT 1
- Linter incorrectly detecting manual provider HOT 3
- If AsyncLoading state is set it doesn't change later HOT 3
- Migrate the translation of code-snippets inside the `website/i18n` folder to new string interpolation mechanism HOT 2
- How are disposed Provider's declared as field of a class HOT 5
- Memory leak ? HOT 2
- Cannot use ref functions after the dependency of a provider changed but before the provider rebuilt, when chaining providers HOT 3
- Stutter on pull to refresh (Flutter 3.19.1) HOT 3
- Best practice for checking if a Future or Stream Provider has already a value and, if not, await the value inside another dependent provider HOT 4
- Delay listen(fireImmediately: true) execution until build() complete HOT 2
- `widget cannot be marked as needing to build` when using an async provider and a menu HOT 1
- Unable to catch exception and enter infinite loop HOT 1
- Why riverpodGeneratorAsyncNotifierProvider returns FutureOr? HOT 1
- [riverpod_lint] prerelease custom_lint version HOT 1
- Incorrect onDispose placement can lead to memory leaks HOT 2
- Provider gets disposed although its being used HOT 2
- How to update state inside AsyncNotifier using custom state? HOT 2
- riverpod_graph outputs empty graph on github action runner HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riverpod.