Build a thorough understanding of state management in React/React Native Apps.
Suitable for React and/or React Native teams
This workshop may be held in the context of React (web-app) or React Native (mobile app).
Hands on workshop
Topics are covered interactively via
- live coding demos - in which I'll ask you many questions.
- coding exercises - in which you'll write and/or refactor code.
The following topics are possible - all or a subset of them may be covered in a workshop.
React built-in state management
React itself offers tools for global state management.
- Local reactive state with
- Lifting state up (method + issues)
- React Context: Global state management with context providers and consumers
- Custom hooks: Extract state management (i.e. business logic) into custom hooks
The simple, yet powerful third-party state management library zustand is gaining more and more traction.
- Simple global state management with zustand which are optimized to reduce unncessary re-renders
- Analyze state changes with Redux Dev Tools.
- Custom hooks to select state from zustand stores
The main focus of the workshop lies on the most-widely used third-party state management library for React: Redux.
- Understand the Redux life-cycle
- Vanilla Redux (define action types, action state, reducer function etc. manually)
- state selector functions
- Analyze state changes with Redux Dev Tools
- Custom hooks to select state from the Redux store
redux-toolkit: The modern and recommended way of using Redux
- state slices
- asynchronous actions with Redux thunks
redux-sagamiddleware: Sophisticated orchestration of asynchronous events
- blocking vs. non-blocking effects
- create non-blocking tasks with the
- Saga helpers (
- Understand interaction between Redux saga middleware and Redux reducer
redux-persist: Persist state (or sub-states) for offline usage of your app
Some facts regarding my React/React Native experience:
- React + React Native development since December 2015. Choice of technology at the time as CTO of a tech startup.
- Extensive TypeScript experience since 2017 - began using TS together with React when TS didn’t support JSX yet.
- Technology Trainer for React Native/React/TypeScript. Held workshops at clients like Barclays, McKinsey, REWE, DATEV, DMTech among others.
- Speaker and workshop leader for React Native/React/TypeScript at professional conferences (e.g. c't webdev, ReactNext, WeAreDevelopers World Congress)
- Author of React Native open-source bridging modules and open-source contributor, e.g. https://github.com/Driversnote-Dev/react-native-kontaktio
Data Analytics & Insights
Max. participant group size: 10
You must log in to send a new comment.