How to avoid page flickering when asynchronous resource updates - SolidJS