神刀安全网

Web Development Reading List #139: Finding Your Passion, Autofilling Forms And ES6 Tricks

Web Development Reading List #139: Finding Your Passion, Autofilling Forms And ES6 Tricks

Advertisement

Finding our passion is a big challenge for all of us as human beings. At some point in life, we try to figure out what our purpose in this world is, what our future will look like. And for some of us, the answers we find to these questions are constantly changing.

The constant search to find answers lets us stay curious , creative, vital — and if that’s missing, we need to find our passion again by exploring what things we like in our world, what makes us happy. Searching takes time, and we should invest that time — maybe by cutting down watching TV by an hour a week.

Web Development Reading List #139: Finding Your Passion, Autofilling Forms And ES6 Tricks

Jason Grigsby shares how to build forms that support cross-browser autofill and how to take advantage of new features such as scanning credit cards.
  • Frend is a dependency-free collection of accessible, modern front-end components. They are built with web standards as a priority and aim to avoid assumptions about tooling or environment.

Web Development Reading List #139: Finding Your Passion, Autofilling Forms And ES6 Tricks

An accessible accordion component from Frend . Each component in the collection is compliant, keyboard navigable, and properly interpreted by assistive technologies. (Image credit: Frend )
  • JavaScript variable hoisting can confuse people , and this is actually the reason why many coding conventions have a rule that all variables need to be defined at the top of a function. ES6’s let and const however, will change this simply by working as one would expect it.
  • A great step towards element queries and better control over modules in our front-ends is coming to browsers now with the new Resize Observer API that observes changes to an element’s size. This, together with the Houdini project, could serve well for a custom element query polyfill. No browser supports this yet, but all vendors consider it and see it as a useful addition.
  • Dr. Axel Rauschmayer shares six great ES6 tricks . How to make function parameters mandatory, for example.
  • The will-change property is still widely unknown and people don’t know exactly when and how to use it properly. Fortunately, the W3C took the effort to write up how to use will-change well .

And with that, I’ll close for this week. If you like what I write each week, please support me with a donation or share this resource with other people. You can learn more about the costs of the project here . It’s available via email, RSS and online.

Thanks and all the best,
Anselm

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Web Development Reading List #139: Finding Your Passion, Autofilling Forms And ES6 Tricks

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址