0 votes
0 views
by
Is it better to pass props or use context?

1 Answer

0 votes
by
Usually, you will pass information from a parent component to a child component via props. But passing props can become verbose and inconvenient if you have to pass them through many components in the middle, or if many components in your app need the same information.
...