JavaScript modules, CSS properties and JS code style: #1.21 the latest News (the Good Parts)


You’re a Front-end developer, so am I; You speak JavaScript, so am I; You lint your ES8, neither am I.
Hi!
Let’s talk today about Native JavaScript modules,
CSS Properties and JavaScript code style.
I’m Anatol and you are watching the Good Parts
of the Frontend development.
Serg Hospodarets in his article “Native ECMAScript
modules” invites you to take a look into the
practical differences between the ES modules
and classic scripts.
He also describes how to detect if the module
script is loaded or the error occurred.
Have you ever heard about ES8?
No?
Me neither.
However ES2016 has been released officially
and ES2017 is in line.
Over the last three years, JavaScript has
become the most versatile scripting language,
but before that nothing happened for many
years.
Therefore you can familiarize yourself with
a brief overview on ES2016 and ES2017 features
like String padding, Descriptors or Asynchronous
Iteration on Node University blog.
A survey “What javascript code style is the
most popular” by Artem Sapegin has got unexpected
results.
Frankly speaking, not really, maybe just a
little bit.
Predictably AirBnb preset has ranked first,
but surprisingly at the top of the league,
among NPM projects you won’t find any lint
rule.
As for me, the main point here is what we
declare and what we actually do in our projects.
What’s about you?
What code style do you prefer?
Leave your comments down below.
Sara Drasner posted her own introduction to
Vue.js on CSS-Tricks.
It comprises five sections and covers the
following topics: Rendering, Components, Vue
command line interface, VueX and Animations.
Webpack has become one of the most important
tools for modern web development and now it
has been reached version 2.
2 point 2 actually.
In this post on Sitepoint you can read a beginner-friendly
Webpack 2 tutorial showing how to set up and
configure Webpack to transform and bundle
all your frontend assets.
Are you normally formatting your console log
messages?
The Chrome console allows you to format messages
using CSS properties.
John Lindquist described a simple syntax of
formatting logs then refactored code into
a template tag function.
Greg Hovanesyan encourages us to take a look
at more than 50 interesting CSS properties
and values.
And it’s not only about Flex boxes and Grid
layouts.
I found some new solutions to old problems
here.
You might like to keep it in your bookmarks.
If you like this video give it “thumbs up”,
share it with your friends, subscribe to the
channel and watch other episodes.
This is
all for this week.
Thanks for watching and stay curious.

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *