How do you use the `<List />` when it's parent is a functional component? The problem there is that you have to define `renderItem` function inside `render` which always triggers a rerender on the `<List />` component.