You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the initial load of the web page, when a user tries to search for a word, it always returns "no result found." However, if the user navigates to another page on the website and then tries the search again, it works. This behavior might be due to the usage of state that gets set on the server-side (just realized 🤦) and doesn't reach the client on time.
Proposed Solution:
Consider dropping the usage of the $dictionary state and compute the value for the Search island dictionary prop directly from the Astro.glob object.
On the initial load of the web page, when a user tries to search for a word, it always returns "no result found." However, if the user navigates to another page on the website and then tries the search again, it works. This behavior might be due to the usage of state that gets set on the server-side (just realized 🤦) and doesn't reach the client on time.
Steps to Reproduce:
screencast-jargons-dev-git-feat-open-graph-babblebeys-projects.vercel.app-2024.04.19-10_30_54.webm
Proposed Solution:
Consider dropping the usage of the
$dictionarystate and compute the value for theSearchislanddictionaryprop directly from theAstro.globobject.