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
So, we have the translation id "hello-world", and, together with this, <p>Hello, World!</p>. Could you please explain why do we need to store the "Hello, World!" phrase twice?
In the component HTML content, as <p>Hello, World!</p>
And, if ten React components reuse this message, we will have 11 copies of the message in the code, so changing the actual text to something like "Hi World" will lead to many changes in different files.
So, could you please explain the core idea of this duplication and potential benefits?