paulichdom / dom-blog

0 stars 0 forks source link

Improve loading of the post detail #22

Open paulichdom opened 1 year ago

paulichdom commented 1 year ago

When interacting (clicking on a post card) with the post card to show the post details, the loading of the post detail is unexpectedly slow. Might be due to loading md files from the system, so optimization of that process might solve the issue. Look into it and find possible solutions. Test how long it takes to load files and search for optimisation.

Another possible culprit for causing the card element to show the details with delay i hydration. We can check if js is loaded in the network tab. Also a good opportunity to test hydration. Check for the event handler. Lastly, if this is so, it could be a good case to implement the React Suspense feature.