DEV Community

Emerson Brôga Dev
Emerson Brôga Dev

Posted on

1 2

React: Destructuring Arguments

React: Destructuring Arguments

Uma outra prática muito comum no JavaScript moderno e principalmente no React é a de usar o destructuring nos argumentos de uma função.

Você pode usar o destructuring diretamente nos argumentos da função, podendo pegar o objeto que foi passado exatamente o que você precisa dentro daquela função.

➜ Participe da nossa lista de desenvolvedores
➜ Aprenda ES6
➜ Veja as dicas no Instagram
➜ Assita nosso canal no YouTube
➜ Curta nossa página no Facebook
➜ Não perca as atualizações no Twitter
➜ Veja os repositórios no Github

=)

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

nextjs tutorial video

📺 Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay