Commit 700096b3 authored by Scott Stern's avatar Scott Stern Committed by sstern

Update doc/development/fe_guide/vue3_migration.md

parent 2fb63ac4
...@@ -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