Shared State: The Solution, Part 2

Episode #270 • Mar 11, 2024 • Subscriber-Only

We finish building a complex, flow-based case study that leverages the new @Shared property wrapper. Along the way we will flex recently added superpowers of the library, and we will experience firsthand how simple this new model of shared state can be.

The Solution, Part 2
Introduction
00:05
Adding another step to the flow
00:41
Adding another step
13:21
One final touch
24:44
Next time: Testing
40:44

Unlock This Episode

Our Free plan includes 1 subscriber-only episode of your choice, plus weekly updates from our newsletter.

Introduction

Stephen: We now have some basic infrastructure in place for our sign up flow. We have a root navigation stack, and we have the ability to drill-down to the first screen of the flow. Pretty simple so far, but we did get to demo a fun new superpower of the @Reducer macro, which is that it generates all of the boilerplate necessary to model an enum of features, which is common for navigation stacks and tree-based navigation.

Brandon: Let’s keep going. Let’s add the second step to the sign up flow, and this will make us come face-to-face with sharing data between features.

This episode is for subscribers only.

Subscribe to Point-Free

Access this episode, plus all past and future episodes when you become a subscriber.

See plans and pricing

Already a subscriber? Log in

Downloads