nkabrown / byways

Explorations off the ui-router main path
0 stars 0 forks source link

Needs UIView component #1

Open pinkhominid opened 5 years ago

pinkhominid commented 5 years ago

Hey @nkabrown, thanks again for kicking this off. Had thoughts of attempting this a few years back and never got past step 1) Create repo.

So now that the minimal example is running. It seems the next move is a UIView component. I was trying to figure out what this would entail. There are a few items that the other existing UIViews (NG1, NG2+, React) seem to address to varying degrees.

Obv not all these are required and I've sort of ordered them in terms of basic priority. I figure this ticket is a good place to discuss. Thoughts?

nkabrown commented 5 years ago

This is a great start. I'm pretty solid on base classes and subclassing but don't have much experience with custom elements. So I'm reading the spec. Don't know enough about the shadow DOM to have a view on whether it's needed, so need to do more research. I'm paying special attention to the custom element lifecycle callbacks.

Was thinking a bit about driving those two lane state highways through the state forests of Northern Michigan when I was naming the repo. They often have a pull off for scenic views or roadside vistas every now and then. I propose we name our custom component ui-vista as a nod to that for fun and just for now. Let me know what you think?

pinkhominid commented 5 years ago

ui-vista, I like it. I may have some time this weekend to take a first pass at this.