Commit 3762f8b4 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'sstern-master-patch-28488' into 'master'

Update doc/development/fe_guide/vue3_migration.md for clarification

See merge request gitlab-org/gitlab!38106
parents 64888bff 700096b3
...@@ -76,6 +76,9 @@ const FunctionalComp = (props, slots) => { ...@@ -76,6 +76,9 @@ const FunctionalComp = (props, slots) => {
} }
``` ```
NOTE: **Note:**
It is not recommended to replace stateful components with functional components unless you absolutely need a performance improvement right now. In Vue 3, performance gains for functional components will be negligible.
## Old slots syntax with `slot` attribute ## Old slots syntax with `slot` attribute
**Why?** **Why?**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment