Search results
Airbnb JavaScript Style Guide () { A mostly reasonable approach to JavaScript. Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent. This guide is available in other languages too.
- React
Airbnb JavaScript Style Guide A mostly reasonable approach...
- React
A mostly reasonable approach to JavaScript. Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent. This guide is available in other languages too.
Overview: We recently rethought the architecture for the JavaScript side of our codebase at Airbnb. This post will look at (1) the product drivers that precipitated the changes, (2) the steps...
Aug 11, 2016 · Breathing air into AirBnB’s JavaScript Style Guide. No one sets out to write ugly, inconsistently-styled code. It just sort of happens. Even as the only developer on a project, the more time...
Aug 11, 2016 · You definitely shouldn’t be nesting code deeper than 3 or 4 layers inside a JavaScript file (it’s a code smell). So having 4 spaces offers you better readability, while preserving other rules like keeping your code within a 80 or 120 character-per-line limit.
Nov 5, 2012 · 1. By Harrison Shoff. Check it out on Github: https://github.com/airbnb/javascript. Everyone writes JavaScript a little differently. We finally decided it was time that we got together...
People also ask
How can I contribute to Airbnb/JavaScript development?
Should you use let and const in Airbnb?
Should you use double quotes in Airbnb?
Why does Airbnb use indentation?
Why does Airbnb have a function declaration against function expression rule?
What does the JavaScript ecosystem offer?
This allows a subsequent contributor to add more data to the event payload without finding and updating every handler for the event. For example, instead of: ```js // bad $(this).trigger('listingUpdated', listing.id); ...