Claudio Wunder
Claudio Wunder
A similar change got merged already. Closing as a duplicate. Thank you anyways for your time!
Hey folks 👋 I'm one of the collaborators behind Node.js, and we love `next-intl`. We're adopting it on the Node.js Website [here](https://github.com/nodejs/nodejs.org/pull/6092) along with Next.js's App Router. From all the...
Thank you, @amannn! I'd say so far it has been a smooth ride, but here are 2cents if I could share: - The App Router example, uses dynamic segments, which...
Besides those comments above, fantastic work done here! (Also apologies for the poorly written comment, somehow decided to write that minutes before settling for the day 😅)
Note this doesn't handle the case where I want to pass the messages as an object from another component. I.e. ```tsx const MyComponent = ({ translationValues }) => t.rich('translationKey', translatioNValues);...
> You mean when `translationValues` contains functions, right? Can you share more about the practical use case? Wdym by that? I should be able to pass translation values as props...
I think sharing [this](https://github.com/nodejs/nodejs.org/blob/main/layouts/DocsLayout.tsx) with you is self-explanatory. Pretty much there's a translation key that we want to have a specific part of it to be surrounded with a "span"...
Also sorry if I'm just crying wold here, @amannn, please feel more than free to just disregard my request!
> 'm wondering if the rendering of the sidebar could be achieved in RSC and only individual items that need to be highlighted if they're active could be Client Components....
Aaand, found a way to make it RSC by removing the only Hook that was "client-dependent"