Marcus Osterberg
Sep 7, 2018 · 1 min read

The function reference will be held in memory, this can lead to performance boost, because it eliminates the need to create a new function on every re-render instead of simply re-using the one allocated function. Creating a function once and then re-use the function instead of potentially creating hundreds of new functions.

This applies when you pass functions as props. You should be fine using map in your render.

    Marcus Osterberg

    Written by

    Swedish. I like to code, learn new things and travel new places.