[TCA] SharedState의 UserDefaults 확장하기 (CodableAppStorageKey)
TCA에서 사용되는 [SharedState](http://Sharing%20state Learn techniques for sharing state throughout many parts of your application, and how to persist data to user defaults, the file system, and other external mediums. Overview Sharing state is the process of letting many features have access to the same data so that when any feature makes a change to this data it is instantly visible to every other feature. Such sharing can be really handy, but also does not play nicely with value types, which are copied rather than shared. Because the Composable Architecture highly prefers modeling domains with value types rather than reference types, sharing state can be tricky. This is why the library comes with a few tools for sharing state with many parts of your application. There are two main kinds of shared state in the library: explicitly passed state and persisted state. And there are 3 persistence strategies shipped with the library: in-memory, user defaults, and file storage. You can also implement your own persistence strategy if you want to use something other than user defaults or the file system, such as SQLite.)에 대한 내용입니다. ...