-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hasBlock
deprecation, documenting (has-block
and (has-block-params
#469
Comments
Looks like the documentation has been updated here emberjs/ember.js#17767 |
Hello, |
It hasn't, but should be. From a user's perspective it seems like there is no difference. |
@knownasilya that is correct. @rwjblue should we open a deprecation RFC? Or is there already one? |
I think we may not want to touch this while we are working towards template imports? While I do think this will stay a keyword and doesn't make sense to import it, having everything else in |
@chancancode I agree with this. It's possible that we'll want to use dash-case for keywords, but I agree that we can reserve that conversation for later. |
As a side note: we could consider the new vscode deprecation feature to mark features that we want to discourage. It has pretty nice UI. |
There is now an RFC for deprecating |
Closing as I consider this resolved in #689! |
In working on Octane documentation I realized the following:
hasBlock
behaves as a keyword in templates, still exists(has-block
is a helper which was added intending to replacehasBlock
. It is suggested in the guides as best practice but has no API documentation as an Ember helper.(has-block-params
is often mentioned by VM developers when(has-block
is being discussed, however this is also not documented as a public API.I'd like to propose an RFC which would resolve this loose end:
(has-block
API, including use for inverse blocks.(has-block-params
API, including use for inverse blocks.hasBlock
This is related to #460 (@wycats on named blocks) as I believe these APIs will have a lot more use and prominence once named blocks land.
The text was updated successfully, but these errors were encountered: