kipalog.com kipalog.com

Isomorphic ReactJS Component

This post is a sample chapter from my upcoming book How to render a ReactJS component isomorphically ? The trick is in defaultProps and componentDidMount methods. On the server, it fetches initial data as default props. On client, it does nothing, but in componentDidMount method, it fetches the same data as the server side. And you get isomorphic React component for free here!. import React from 'react'; import AppState from...

techcrunch.com techcrunch.com

Uber safety driver of fatal self-driving crash was watching Hulu, not the road

A safety driver operating an Uber self-driving vehicle looked down at a phone that was streaming The Voice on Hulu 204 times during a 43-minute test drive that ended when pedestrian Elaine Herzberg was struck and killed in Tempe, Arizona, according to a 318-page police report reviewed by TechCrunch. The Tempe Police Department released late Thursday evening the report on the fatal self-driving car crash that occurred in a Phoenix...

iosdevweekly.com iosdevweekly.com

iOS Dev Weekly - Issue 357 - Jun 22nd 2018

Comment This week saw the release of Beta 2 of macOS, iOS and all their friends. This isn't a big release in terms of API changes but there are a few diffs to scan over if you must. Make sure you don't miss these UIKit changes for example... Scandalous! 😂 There's nothing weird here though, beta 2 follows beta 1 very quickly every year and is always a minor update. It's sensible to plan for a quick beta 2, just in case any...

hrotoday.com hrotoday.com

Conquering Bias

Five steps managers can implement to address unconscious bias in the workplace. By Charlotte Blank Business managers have become more aware of the potential for workplace bias following the Starbucks incident back in April which prompted Starbucks to close 8,000 of their stores to address an underlying bias issue. This then caused other companies to reevaluate how they solve major bias issues in their own workplaces. A common approach...