B
B
BonBon Slick2020-02-19 18:24:07
Vue.js
BonBon Slick, 2020-02-19 18:24:07

Pass the entire object or its individual parts?

There is an object of 10+ parameters that is used in the current component.
There is a child component that takes a few specific parameters.

Which is more efficient, passing the whole object to child or just parts of it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-02-19
@BonBonSlick

only parts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question