(Possible, but unlikely) 2.0 Ideas #234
GregoryConrad
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As time has progressed, I've realized that a few API decisions I have made along the way were somewhat subpar. If I were to do a 2.0 release, which I still am reluctant to do, I wanted to keep a tracking list of the possible changes for such a release since I have ideas for breaking changes time-to-time.
Most of these would be unlikely to break any codebases using ReArch unless they are using relatively niche features.
SideEffectApi.rebuild
should have a signature like:mutation
is now requiredcancelRebuild
no longer exists (just ensure the data returned by the side effect is==
instead)use.data
(and friends) when the data doesn't changecancelRebuild
as described above==
optimization==
capsule.data
and similar and then have users make wrappers around that with new capsules?Option
AsyncValue
should just have nullable fields.Option
type.Beta Was this translation helpful? Give feedback.
All reactions