Closed jchavarri closed 3 years ago
Adds support for React.memo.
React.memo
Includes a small diff on the ppx to be able to support wrapped render functions with a second argument (for memoCustomCompareProps compareProps function). This patch could be back ported to ReasonReact ppx easily.
memoCustomCompareProps
compareProps
Adds support for
React.memo
.Includes a small diff on the ppx to be able to support wrapped render functions with a second argument (for
memoCustomCompareProps
compareProps
function). This patch could be back ported to ReasonReact ppx easily.