pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.07k stars 1.41k forks source link

Add important note about delegate actions. #3135

Closed mbrandonw closed 2 months ago

mbrandonw commented 2 months ago

The "Meet the Composable Architecture" tutorial was not updated to make use of @Shared, and one could argue that maybe it shouldn't. It should be just a very basic introduction to the library, and it may be too advanced to jump into state sharing topics.

However, that does lead people to believe that delegate actions are the only way to achieve what we do in the tutorial, so I have added a note to make it clear that is not the case.