Conversation
e9240aa to
1171783
Compare
|
@mfazekas this is great, and I think it will be useful for people migrating. But there are (and will be) a lot of other breaking changes. We should aim to only add this (and other similar) if it enhances this runtime. We shouldn't let the old runtime usage drag us down. With that in mind, I like the above. My only concern is that over time, we add more and more affordances to the There is a big advantage in people understanding that they own/manage the lifetime of the Rive File object - we've learned that lesson in our other runtimes. Creating view model instances is also reliant on having the file object. Having one way to do something will reduce the amount of People can always write their own wrappers to simplify this. I still like this change, though. But my concern is that people will ask that we allow them to customize the loading and error state - and the answer there will then be an
|
eb553a6 to
0cdc246
Compare
Basically allows simplified code:
to be written as:
Advantages:
Disadvanteges:
Alternatives: