Wednesday, September 6, 2017

How to Design a Social Media Strategy Aligned With Your Specific Business Objectives [Infographic]

With a multitude of social media platforms now available, it is easy to be confused or unsure of how to develop a social media strategy in today’s hyper connected society. Social media networks are one of the best avenues to promote your brand globally. With over 2.7 billion users worldwide, there...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

10 Fascinating Facts About The Internet [Video]

From surfing to taking help from the internet, today we find it difficult to imagine our life without the internet. But not many of us know these fascinating facts about the internet. So, let’s have a quick look at it:

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Irfan Ahmad via Digital Information World

Getting React Projects Ready Fast with Pre-configured Builds

Starting a new React project now days is not as simple as we'd like it to be. Instead of instantly diving into the code and bringing your application to life, you have to spend time configuring the right build tools to set up a local development environment, unit testing, and a production build. But there are projects where all you need is a simple set up to get things running quickly and with minimal efforts.

Create-react-app provides just that. It's a CLI tool from Facebook which allows you to generate a new React project and use a pre-configured Webpack build for development. Using it, you will never have to look at the Webpack config again.

How does create-react-app work?

Create-react-app is a standalone tool which should be installed globally via npm, and called each time you need to create a new project.

npm install -g create-react-app

To create a new project, run:

create-react-app react-app

Create-react-app will set up the following project structure:

.
├── .gitignore
├── README.md
├── package.json
├── node_modules
├── public
│   ├── favicon.ico
│   └── index.html
└── src
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    └── logo.svg

It will also add a react-scripts package to your project which will contain all of the configuration and build scripts. In other words, your project depends react-scripts, not on create-react-app itself. Once the installation is complete, you can start working on your project.

Starting a Local Development Server

The first thing you'll need is a local development environment. Running npm start will fire up a Webpack development server with a watcher which will automatically reload the application once you change something. Hot reloading, however, is only supported for styles.

The application will be generated with a number of features built-in.

ES6 and ES7

The application comes with its own Babel preset, babel-preset-react-app, to support a set of ES6 and ES7 features. It even supports some of the newer features like async/await, and import/export statements. However, certain features, like decorators, have been intentionally left out.

Continue reading %Getting React Projects Ready Fast with Pre-configured Builds%


by Pavels Jelisejevs via SitePoint

Why you should cover your laptop camera [video]

Mark Zuckerberg recently posted a photo on his Facebook page celebrating the success of Instagram. His followers quickly noticed something strange about his laptop in the image: there was tape over both the camera and the microphone to protect against hackers. Is Zuck overly paranoid, or is this...

[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

Coffee Table

Coffee Table

Dark-schemed One Pager forming the coffee-tasting journal of designer Tobias Reich. Really like this smart layout and nice touch including coffee facts between sections.

by Rob Hope via One Page Love

#306: A Guide To Virtual Reality For Web Developers

Frontend Focus
Issue 306 — September 6, 2017
The state of browsers when it comes to virtual reality and a look at the state of implementing VR on the Web using WebVR’s APIs.
Ada Rose Edwards

WebUSB allows web apps to access user permitted USB devices. There’s also support for importing JavaScript modules within script tags.
Google Developers

A usability study into the use of ‘flat’ elements on the Web, as opposed to buttons and elements with shadows and bevels.
Nielsen Norman Group

Automatically detect and diagnose JavaScript errors impacting your users with Bugsnag. Get instant diagnostic reports, know immediately which errors are worth fixing, and debug in a fraction of the time compared to traditional tools. Try it free.
Bugsnag   Sponsor

Giulio Mainardi shows you how to build a Trello-like layout using new Grid Layout Module features and Flexbox, along with some Sass for efficiency.
SitePoint

.. and here’s why. Most sites can benefit from becoming a PWA — and your users will benefit too.
Aaron Gustafson

The visual viewport API, in draft but now supported by Chrome 61, gives access to details on how the user zooms and scrolls around the page. A neat little demo here.
Google Developers

Could audio feedback improve the user experience of filling a form? Ruth John takes a look.
CSS Tricks

Jobs

Can't find the right job? Want companies to apply to you? Try Hired.com.

In Brief

CSS Grid to Ship in Microsoft Edge on October 17 news
Greg Whitworth

Typekit Now Serving Web Fonts With No JavaScript Required news
You can now add fonts to your web site using only CSS.
Persa Zula

It’s easy to version control your database alongside your application 
Connect your database to your version control system with SQL Source Control and keep track of every change.
Redgate  Sponsor

Prefilling Date Input Fields tutorial
Chris Coyier

A Very Basic Introduction to HTML Components tutorial
Jasper St. Pierre

Browser Compatibility for CSS Grid Layouts with Simple Sass Mixins tutorial
Farley Reynolds

Two Approaches to Removing Unused CSS Rules tutorial
Falkus

How to Create Fancy Revealing Animations with Simple CSS Tricks tutorial
Carlos Roso

9 Things You Didn’t Know About Firefox Dev Tools tutorial
Kezz Bracey

Exploring Bump Mapping with WebGL tutorial
Apoorva Joshi

Designing for Great Web Performance, with Addy Osmani video
Google Chrome Developers

A much faster way to debug code than with breakpoints or console.log 
Wallaby.js features allow you to inspect the result of any JavaScript expression execution in your editor.
Wallaby.js  Sponsor

Flexbugs: A Curated List of Flexbox Issues & Cross-Browser Workarounds code
Philip Walton

asm-dom: A WebAssembly Virtual DOM to Build SPAs in C++ code
Matteo Basso

Lozad: Performant Lazy Loading with the Intersection Observer API code
Apoorv Saxena


by via Frontend Focus

Testing Components in Angular Using Jasmine: Part 1