You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referring to issue #420, I noticed that the only way to render a list is by passing a reference to a component, rather than being able to use inline render functions directly.
I tried to create a wrapper component to simplify the API for users. Here's an example:
Hi,
Referring to issue #420, I noticed that the only way to render a list is by passing a reference to a component, rather than being able to use inline render functions directly.
I tried to create a wrapper component to simplify the API for users. Here's an example:
With this wrapper, users can pass the children for the list directly, like so:
However, when using this syntax, I noticed that the list component triggers unexpected re-renders, which affects performance.
Could this behavior be fixed to allow inline render functions without causing unnecessary re-renders?
The text was updated successfully, but these errors were encountered: