Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate importing-exporting-components #444

Merged

Conversation

eliamaino-fp
Copy link
Contributor

Added translations for importing-exporting-components.

See #418

@github-actions
Copy link

github-actions bot commented May 12, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 75.82 KB (🟡 +7 B) 178.98 KB
/500 75.82 KB (🟡 +7 B) 178.97 KB
/[[...markdownPath]] 77.25 KB (🟡 +7 B) 180.41 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link
Collaborator

@mattia-sanfilippo mattia-sanfilippo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ciao @eliamaino-fp 👋
Ottimo lavoro e grazie mille per aver contribuito! 🚀

Ho proposto due piccolissime modifiche, facci sapere cosa ne pensi! 😄


```js
export default function App() {
return <Profile />;
}
```

Now `Gallery.js` contains two exports: a default `Gallery` export, and a named `Profile` export. `App.js` imports both of them. Try editing `<Profile />` to `<Gallery />` and back in this example:
Ora `Gallery.js` contiene due esportazioni: una predefinita `Gallery` e una denominata `Profile`. `App.js` le importa entrambe. Provate a modificare `<Profile />` in `<Gallery />` e viceversa in questo esempio:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ora `Gallery.js` contiene due esportazioni: una predefinita `Gallery` e una denominata `Profile`. `App.js` le importa entrambe. Provate a modificare `<Profile />` in `<Gallery />` e viceversa in questo esempio:
Ora `Gallery.js` contiene due esportazioni: una predefinita `Gallery` e una denominata `Profile`. `App.js` le importa entrambe. Prova a modificare `<Profile />` in `<Gallery />` e viceversa in questo esempio:

Parlerei in singolare come fatto da altre parti :) Cosa ne pensi?

src/content/learn/importing-and-exporting-components.md Outdated Show resolved Hide resolved
@eliamaino-fp
Copy link
Contributor Author

Ciao @mattia-sanfilippo, grazie per la review! Ho sistemato i due errori :)

1 similar comment
@eliamaino-fp
Copy link
Contributor Author

Ciao @mattia-sanfilippo, grazie per la review! Ho sistemato i due errori :)

Copy link
Collaborator

@mattia-sanfilippo mattia-sanfilippo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grazie @eliamaino-fp! 🚀

@mattia-sanfilippo mattia-sanfilippo merged commit 7981daf into reactjs:main May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants