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
My component with a useList hook renders once for every child in a list. If I subscribe on a screen with 2,000 items this is very inefficient - my component re-renders 2,000 times. I think the hook should set the value of the data based on the once('value') and then be smart about handling childAdded. Does this make sense? Or am I doing something else wrong if my component is re-rendering once for every item in my list?