-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Show how to make your own input component #1354
Comments
Note, this issue should get some learning team feedback before we move forward. |
@ember-learn/learning-core-team please review and add your comments to this issue before our next meeting, if you can find the time! |
The last time we discussed covering |
The last point you made there is the framing I would like to use. |
So, one of the principles we've been moving toward is exposing the primitives, and I don't think that There is the issue that the current Once that's done though, I think it would be a great guide to have. It shouldn't be the primary path for new learners, but it could be something like a tutorial: Making Ember Built-Ins from Scratch. I think this would be a great resource for intermediate learners. |
I think it's a bit of change we can make to the guides now that would be immediately useful. If/when we resolve the other issues, we could update the guides accordingly. |
@pzuraq What is |
@MelSumner @pzuraq I agree that there’s a lot of value here, but I do not think it’s a good idea to show how to implement the current A Glimmer-ready implementation, by contrast, would be very helpful—and would allow us to avoid some of the foot-guns present in implementing the primitives we have today. (There’s probably also value in showing how to do even what we have today, but I’d absolutely put that in the “Advanced” rather than “Intermediate” learning materials bucket.) |
To clarify, I would not intend to show a “faithful” Input, rather an Octane-style input without 2 way binding. |
100% to that approach! If I had more time, I'd do it myself as it's right in one of my hobby-horse spaces. 😂 |
Perhaps diving into the differences between |
I would agree if beginners were the target audience, but precisely because this material is intended for an Intermediate audience I think it’s great to tackle what is unarguably already a slightly confusing point in Ember. That being said, no reason there can’t be dedicated How To/Recipe-style materials for more than one of these! |
As discussed in the learning team meeting today:
|
Hello Did the blog post get published? I was looking into generating inputs today with Octane and have struggled to find the correct way to do it. |
In Ember Octane, we have an emphasis on teaching devs how to use Ember to interact with the DOM. We should show an example of how to create a regular
input
, as opposed toInput
.Showing how to write a vanilla input component serves 3 purposes:
The text was updated successfully, but these errors were encountered: