Open sergeysova opened 3 years ago
Still actual!)
Sounds kinda Sourced fields from Farfetched 🤔
So, I'm going to stick with the following API:
const B = reflect({
view: A,
bind: {
foo: $data,
bar: { source: $data, fn: (data, props) => data[props.key] }
},
})
PR will be done in a week 🤗
I forgot to write down the result. I tried, and was unable to beat TS 😣