You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm looking to switch from a in-house framework to Flight, they're very similar except that Flight is obviously supported by many more developers. I had a question about attributes though.
In our in-house solution we define defaultAttributes as:
We found that the Flight standard is very verbose. and results in a lot of repetition in our code. Is this really the best practice? We've thought about creating a mixin which will use 'selector.' for .select() but that seems really hacky and I would rather not have to do that.
Also it looks like if I were to create a mixin I would also have to do it for .on as well. :\
Thoughts?
P.S. Posted this same question on Gitter but no replies, sorry for the double post.
The text was updated successfully, but these errors were encountered:
The naming convention was a decision we made very early on (about 3 years
ago now). There's certainly no expectation that anyone else will follow
Twitter's conventions, nor have we any idea whether they're actually
helpful. We've just never tried anything else.
So I'm looking to switch from a in-house framework to Flight, they're very
similar except that Flight is obviously supported by many more developers.
I had a question about attributes though.
In our in-house solution we define defaultAttributes as:
We found that the Flight standard is very verbose. and results in a lot of
repetition in our code. Is this really the best practice? We've thought
about creating a mixin which will use 'selector.' for .select() but that
seems really hacky and I would rather not have to do that.
Also it looks like if I were to create a mixin I would also have to do it
for .on as well. :\
Thoughts?
P.S. Posted this same question on Gitter but no replies, sorry for the
double post.
—
Reply to this email directly or view it on GitHub #344.
So I'm looking to switch from a in-house framework to Flight, they're very similar except that Flight is obviously supported by many more developers. I had a question about attributes though.
In our in-house solution we define defaultAttributes as:
as opposed to flight which suggest defining the defaultAttributes as:
We found that the Flight standard is very verbose. and results in a lot of repetition in our code. Is this really the best practice? We've thought about creating a mixin which will use
'selector.'
for.select()
but that seems really hacky and I would rather not have to do that.Also it looks like if I were to create a mixin I would also have to do it for
.on
as well. :\Thoughts?
P.S. Posted this same question on Gitter but no replies, sorry for the double post.
The text was updated successfully, but these errors were encountered: