Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.66 KB

2019-05-11.md

File metadata and controls

27 lines (14 loc) · 1.66 KB

useReducer gets you to write code the way a user will interact with your component.

You are encouraged to think in the What and centralize all How questions inside the reducer.

I'm so excited useReducer is now built-in to React. It's one more reason why I love it.

Learn how Hooks make React significantly easier to write and read, along with some specific examples on how to use them for rapid prototyping.

The Intersection Observer API is a browser API which can be used to track the position of HTML elements in context to the actual viewport of the browser. The official documentation says: “The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document’s viewport.”

What’s new in JavaScript (Google I/O ’19)

A hands-on tutorial on how to create a simple functional React component using React Hooks.

— You’re not going to find these useful but I found the scale amusing 🤷‍♂️