-
Notifications
You must be signed in to change notification settings - Fork 232
Conversation
|
||
reuse: -> | ||
if arguments.length is 1 | ||
throw new Error 'Controller#reuse: Deprecation warning. ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOT nice if we don't want to be like Backbone and break compat each semver-valid release.
Since we are on 1.x now, we should not break it with 1.x.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disagree. Making changes is part of moving forward. We should try to limit the number of changes between major releases to be sure, but non-major functionality or feature changes shouldnt require a major version to publish.
So, can you tell briefly what's this about? (I don't remember; i've looked through discussion) As I understand, instead of Why do we need three APIs? cc @YAndrew91 |
The current code in the PR is a breaking change, yes. I’m not against maintaining backwards compatibility, it’s just not what I had in mind with this quick sketch. This is more a working demo of a possible future API. Well, I don’t know yet if it works in real applications, that’s what I want to find out with this. The idea is to clean up the existing API and make it clearer, for users and internally. One There are a lot of subtleties and edge cases that I stumbled upon while writing the specs and the implementation. My approach was Delete your Code and to question everything we have, and to write more specs to the illuminate the edge cases.
My questions are:
I’d like to figure out if and when these operations are necessary, how the use cases look and how best practices could look. As I said, I will explain more details in the next days. |
Notes for me (WIP):
|
Anything I can help with here? |
This is my attempt to understand and clean up the composer a bit. It also (roughly) an implementation of the ideas from #643 (comment).
I’ll explain the details in the next couple of days. This PR is more for discussion because there are a lot of breaking and unrelated changes here.