Skip to content

Commit

Permalink
Update dev_docs/key_concepts/kibana_platform_plugin_intro.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Smalley <[email protected]>
  • Loading branch information
stacey-gammon and tylersmalley authored Oct 13, 2021
1 parent 35a10ba commit 0d6823c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_docs/key_concepts/kibana_platform_plugin_intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In the meantime, the following can be used to determine whether it makes sense t

Benefits to packages:

1. <b>_Potentially_ reduced page load time</b>. All code that is statically exported from plugins will be downloaded on _every single page load_, even if that code isn't needed. With packages, only code that is needed for the current page is downloaded.
1. <b>_Potentially_ reduced page load time</b>. All code that is statically exported from plugins will be downloaded on _every single page load_, even if that code isn't needed. With packages, only code that is imported is download, which can be minimized by using async imports.
2. <b>Puts the consumer is in charge of how and when to async import</b>. If a consumer async imports code exported from a plugin, it makes no difference, because of the above point. It's already been downloaded. However, simply moving code into a package is _not_ a guaranteed performance improvement. It does give the consumer the power to make smart performance choices, however. If they require code from multiple packages, the consumer can async import from multiple packages at the same time. Read more in our <DocLink id="kibDevPerformance" text="performance docs"/>.

Downsides to packages:
Expand Down

0 comments on commit 0d6823c

Please sign in to comment.