React Hooks – evolution or revolution?

pro6

Čtvrtek 6. prosince 2018

18:00 - 20:00

Tato akce už proběhla.

Původní stránka akce →

O akci

Are you familiar with React and JavaScript basics and would you like to get better? Join us in our MSD React Workshop Series. It is a set of independent workshops focused on advanced React and other topics related to web development. Every session consists of a mix of a talk and live coding. We encourage you to bring a laptop and code with our fellow developer-lecturer. Apart from the laptop you will need a basic understanding of React, JavaScript and web development as we will not cover fundamentals and jump right into more advanced topics.

This session will focus on React Hooks – new feature everybody is so excited about now, even though it’s still in the proposal phase. But what are those hooks good for? When should we (not) use them? How do they compare to the old pattern? Let’s try to answer these questions together. We will go through several examples of “standard” class components and we will rewrite them using hooks. We will also write our own hook and talk about possible dangers of doing so.

Prerequisites
If you want to try the code on your own machine, please bring a laptop with Node.js 8.9+, npm and Git installed.
Otherwise bring just a good mood and hunger for knowledge… By the way, speaking of hunger – refreshment will be available 👍

Links:
Sophie Alpert and Dan Abramov talk about Hooks at React Conf 2018: React Today and Tomorrow and 90% Cleaner React With Hooks, https://www.youtube.com/watch?v=dpw9EHDh2bM
Official React Hooks documentation: https://reactjs.org/docs/hooks-intro.html

Místo

MSD