2 ms·
Right. Rather than checking if the array exists, his hook should just always be returning an empty array. The map would then do nothing and his component would
by ramesh31 5y ago
Right. Rather than checking if the array exists, his hook should just always be returning an empty array. The map would then do nothing and his component would never even try to render.