When SSR is executed, the data is pre-fetched and populated by Node.js server. However the DictionaryService API call is still executed in a browser on initial page load. We now transfer the pre-fetched SSR data to the client, preventing unnecessary client-side API calls and improving app's performance.
Testing Details
[ ] Unit Test Added
[x] Manual Test/Other (Please elaborate)
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description / Motivation
When SSR is executed, the data is pre-fetched and populated by Node.js server. However the DictionaryService API call is still executed in a browser on initial page load. We now transfer the pre-fetched SSR data to the client, preventing unnecessary client-side API calls and improving app's performance.
Testing Details
Types of changes