Skip to main content
Edward_Battistini1
New Participant
April 3, 2024
Question

Nested Instance: What is the right amount of nesting?

  • April 3, 2024
  • 2 replies
  • 576 views

I’ve got a bit of quiet time and was looking refactoring some components and wanted to know what is the community doing ? Is there a right amount of nesting that people use ?

What would qualify for a nested instance ? Are there any resources available on that topic ?

I have a some complex components like select lists and wizard and never know what should be instantiated and what should be kept as normal layer throughout all the states?

What do you folks do ?

This topic has been closed for replies.

2 replies

y_toku
Figmate
Community Support
April 5, 2024

Thanks for raising the topic! We’re also curious how community is using it. Let’s see how others react.

Toku

Alamaki
April 5, 2024

I use as much nesting as it takes, whitch with complex components and instance swamping leads to a lot of nesting. So much so that the left sidebar’s max-width setting makes it unusable. 😟

Since updating library components that have variants is buggy, those components must have their “variants” nested in as hidden layers. 🤬