Front-end Developer News
1.68K subscribers
31 photos
154 links
No matter you are a programmer or not, fill your insights on this channel. We share information, tips, tricks to humor about the frontend developer every day and every time, JOIN NOW!

have any idea? pm @afrianjunior
Download Telegram
-------------
πŸ“– Why We Chose Vue.js
β€”----------

I like vanilla Vue.js personally, although I can reach for vue-resource when I need it. Hooking Vue.js up to existing code is very straightforward.
-------------
πŸ“– Remote Stories
β€”----------

Anonymous stories from remote workers

Remote Stories is a platform where remote workers of all kinds can anonymously post their experiences, thoughts, concerns, opinions and, of course, general ups/downs.
------------
πŸ“– An Introduction to the BEM Methodology
β€”---------

BEM stands for Block Element Modifier. It suggests a structured way of naming your classes, based on properties of the element in question. If you’ve ever seen a class name like header__formβ€”email that’s BEM in action. When using the BEM methodology, keep note that we will be using only class names (not IDs). Class names allow you to repeat the BEM name if necessary, and create a more consistent coding structure (both on in the HTML and CSS/Sass files). Now let’s break it down.
-------------
πŸ“– Angular 1 vs Angular 2 – a high-level comparison
β€”----------

I’m really excited about Angular (....), after having tried it out with a few components, I can see how its easier to learn and more transparent to the developer. Again much of the things described in this post such as Zones will just work.
---------β€”
Eval JS
β€”------β€”

A JavaScript interpreter written in JavaScript.

Why?
You might be working in a JavaScript environment where eval() isn't allowed (and you have a genuinely good reason why you want to use it). Maybe this'll slip under the radar. You could also extend this to make it execute ES6 code in an ES5 environment. PRs welcome!
----------
πŸ“– What is an isomorphic application?
β€”-------

Javascript was traditionally the language of the web browser, performing computations directly on a user’s machine. This is referred to as β€œclient-side” processing. With the advent of Node.js, JavaScript has become a compelling β€œserver-side” language as well, which was traditionally the domain of languages like Java, Python and PHP.
---------β€”
πŸ“– What is Code Splitting?
β€”------β€”

Code splitting is one of the most compelling features of webpack. It allows you to split your code into various bundles which you can then load on demand β€” like when a user navigates to a matching route, or on an event from the user. This allows for smaller bundles, and allows you to control resource load prioritization, which if used correctly, can have a major impact on your application load time.
---------β€”
πŸ“– Clean Code Javascript
β€”------β€”


Not every principle herein has to be strictly followed, and even fewer will be universally agreed upon. These are guidelines and nothing more, but they are ones codified over many years of collective experience by the authors of Clean Code.

Our craft of software engineering is just a bit over 50 years old, and we are still learning a lot. When software architecture is as old as architecture itself, maybe then we will have harder rules to follow. For now, let these guidelines serve as a touchstone by which to assess the quality of the JavaScript code that you and your team produce.
----------
Helium CSS
β€”-------


Helium is a tool for discovering unused CSS across many pages on a web site.

The tool is javascript-based and runs from the browser.

Helium accepts a list of URLs for different sections of a site then loads and parses each page to build up a list of all stylesheets. It then visits each page in the URL list and checks if the selectors found in the stylesheets are used on the pages. Finally, it generates a report that details each stylesheet and the selectors that were not found to be used on any of the given pages.
------------
πŸ“– Eloquent Javascript PDF Version
β€”---------

A Modern Introduction to Programming
------β€”
Optimize JS
β€”---β€”

Optimize a JavaScript file for faster initial execution and parsing, by wrapping all immediately-invoked functions or likely-to-be-invoked functions in parentheses.
---------β€”
πŸ“– Backbone Fundamentals
β€”------β€”

Backbone.js is a lightweight JavaScript library that adds structure to your client-side code. It makes it easy to manage and decouple concerns in your application, leaving you with code that is more maintainable in the long term.
------β€”
Vue Hot Reload Loader
β€”---β€”

Enable hot module replacement (HMR) on your Vue components.

This loader is for Vue components written in .js (or other non single file components format) file. If you are using .vue file, you don't need this loader because they already have HMR feature.