I have a method "colorize" that receives two arguments: hue and shade. A component has a props.hue and I want to curry that function. I can't do it with createMemo since the accessor does not receive a parameter. How would you do it?
function colorize(hue, shade) { ... }
function Component(props: Props) {
const color = colorize.bind(null, props.hue) // not reactive!
return <span color={color(100)}>hello</span>
}