03 Jan 2023 02:25 PM - last edited on 20 Apr 2023 09:01 AM by educampver
Is there a reason to prefer more specific imports @dynatrace/strato-compontents-preview/layouts
instead of just @dynatrace/strato-components-preview
? It seems either works, but examples tend to use more specific paths. Just wondering if there’s a reason…
Solved! Go to Solution.
03 Jan 2023 03:24 PM - last edited on 18 Apr 2023 11:29 AM by educampver
Hi @lucas_hocker , technically speaking, there is no difference between the two imports. Because imports from @dynatrace/strato-components-preview
are re-exports of all other packages like the layout and so on.
My personal preference is to use @dynatrace/strato-components-preview
because then you don't have to know the underlined folder names, potentially saving you from headaches if the internal path changes.