Careers | Harvard Business Publishing

Harvard Business Review (HBR) is the leading destination for smart management thinking. Through its flagship magazine, books, and digital content and tools published on HBR.org, Harvard Business Review aims to provide professionals around the world with rigorous insights and best practices to help lead themselves and their organizations more effectively and to make a positive…

Read More

jobs/senior-news-applications-developer-20160107.md at master · newsapps/jobs

Senior News Applications Developer The Chicago Tribune Data Visualization team is looking for a senior news applications developer. We are Chicagoland’s dominant news organization, a fast-moving and vital place to do journalism. Description We are focused on using data to tell the most important Chicago stories. Our group reports, analyzes, conceptualizes and builds news applications,…

Read More

Communicate Between Components | React

Communicate Between Components For parent-child communication, simply pass props. For child-parent communication: Say your GroceryList component has a list of items generated through an array. When a list item is clicked, you want to display its name: var GroceryList = React.createClass({ handleClick: function(i) { console.log(‘You clicked: ‘ + this.props.items[i]); }, render: function() { return (…

Read More

Expose Component Functions | React

Expose Component Functions There’s another (uncommon) way of communicating between components: simply expose a method on the child component for the parent to call. Say a list of todos, which upon clicking get removed. If there’s only one unfinished todo left, animate it: var Todo = React.createClass({ render: function() { return {this.props.title}; }, //this component…

Read More

Interactivity and Dynamic UIs | React

You’ve already learned how to display data with React. Now let’s look at how to make our UIs interactive. A Simple Example # var LikeButton = React.createClass({ getInitialState: function() { return {liked: false}; }, handleClick: function(event) { this.setState({liked: !this.state.liked}); }, render: function() { var text = this.state.liked ? ‘like’ : ‘haven’t liked’; return ( You…

Read More

Reusable Components | React

When designing interfaces, break down the common design elements (buttons, form fields, layout components, etc.) into reusable components with well-defined interfaces. That way, the next time you need to build some UI, you can write much less code. This means faster development time, fewer bugs, and fewer bytes down the wire. Prop Validation # As…

Read More