Open
Description
On http://devblog.orgsync.com/react-list/:
{
"length": 10000,
"itemRenderer": "function renderVariableHeightItem(index, key) {\n return _React.createElement(\n 'div',\n {\n key: key,\n className: 'item' + (index % 2 ? '' : ' even'),\n style: { lineHeight: '' + getHeight(index) + 'px' }\n },\n index\n );\n }"
}
Is passing the itemRenderer
prop as a string intentional? The documentation on Github seems to suggest it's just a function.
If it helps, I've been using an older version of the library and I'm finally upgrading, so this is a bit confusing.