I am doing some client side rendering and filtering 500 items. It takes 1-2 seconds to filter the array. Is it possible to show an activity indicator while the function is running? I cannot use hooks here to display the Spinner as state changes after the function is finished.
I am doing some client side rendering and filtering 500 items. It takes 1-2 seconds to filter the array. Is it possible to show an activity indicator while the function is running? I cannot use hooks here to display the Spinner as state changes after the function is finished.