Nesting Masters and Dynamic Panels for Making Reusable Components

As a prototype gets more complex and you make more reusable components, you can find yourself with a lot of nesting of masters and dynamic panels.

So I’m curious, is it better to try to more often next masters within dynamic panels, or dynamic panels within masters?

And by “better” I mean both prototype performance, but also prototype maintainability and extensibility.

Thanks!