Closed brunoscopelliti closed 1 year ago
Can't replicate with version 2.5.0-canary.1.
@brunoscopelliti thanks to report it and share the repro example. I close it since we fixed this problem with conflicts with layout namespaces or loading pages and with 2.5.0-canary.3 I see that it is working fine again.
It seems
useTranslations
after page reload does't work for server components.I've created this repro.zip where you can reproduce the issue.
Navigate to page-1, and refresh the page. You should be able to see the label correctly.
Navigate to page-2, and refresh the page. At this point the label is not rendered anymore.