Question: How do I type check shouldUpdate with flow
Tevinthuku opened this issue · comments
Suppose I have
const optimize = compose(
shouldUpdate(
(prev, next) =>
prev.alt !== next.alt ||
prev.src !== next.src ||
)
);
How do I type check optimize with flow ?
same as any other hoc https://medium.com/flow-type/flow-support-in-recompose-1b76f58f4cfc
Thanks, Closing this now