The itemsRenderer callback is defined as accepting a string ref. However, according to this article, string refs are deprecated and may be removed from React at some point.
The legacy way of creating refs in a React application is using string refs. This is the oldest method and is considered legacy or deprecated because it will be removed in future releases of React.
I can across this when I was having trouble using a Material UI component in itemsRenderer because it explicitly does not accept string refs. I did find a solution, but it raised this question in my mind.
The
itemsRenderer
callback is defined as accepting a string ref. However, according to this article, string refs are deprecated and may be removed from React at some point.I can across this when I was having trouble using a Material UI component in
itemsRenderer
because it explicitly does not accept string refs. I did find a solution, but it raised this question in my mind.