Conversation
b3acc03 to
5b36d3d
Compare
|
I see that @truenorth did the very same thing. Very similar implementation too. |
|
I would love for you too to collaborate on this instead. |
|
What do you mean? Both collaborate on #9477 or I keep working on this as a separate idea? |
|
BTW, this is the easiest approach possible. Not sure you think this is the best idea in the long term. Maybe it's more convenient to take the opposite path and change the internal behavior of computed to call the getter or the setter and when we provide a functions instead of an object we build an object with only a setter. I think this would be more performant and would also simplify parts of the code. We could do something like this and raise a deprecation warning if someone provides a function with arity > 1, because providing only a function means that is a getter-only CP, and eventually (2.0) refactor code to change the internals to the opposite, as I just explained. |
|
Closed in favour of #9527 |
No description provided.