Re:A Farewell to FRP
by ccapndave on Tuesday May 10, 2016 @12:43PM
(#11668536)
Another approach is to use extensible records, which give you structural typing similarly to Typescript. This means that you can pass the exact same state record/object around to different components, but a particular component might only specify that the state needs to have a `user` property, whereas another might only specify that the state needs to have a `friends` property.
[ Parent
| on HN ]
There are no comments on this comment yet.