From dd5d2f374578696fa3a08bb37a71c3c12d99952e Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Thu, 22 Oct 2020 21:06:21 +0900 Subject: [PATCH 1/2] Translate: Migration Guide > Functional Components --- src/guide/migration/functional-components.md | 70 ++++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/src/guide/migration/functional-components.md b/src/guide/migration/functional-components.md index 056b8996..d6224d23 100644 --- a/src/guide/migration/functional-components.md +++ b/src/guide/migration/functional-components.md @@ -3,36 +3,36 @@ badges: - breaking --- -# Functional Components +# 関数型コンポーネント -## Overview +## 概要 -In terms of what has changed, at a high level: +何が変わったのかを大まかに: -- Performance gains from 2.x for functional components are now negligible in 3.x, so we recommend just using stateful components -- Functional components can only be created using a plain function that receives `props` and `context` (i.e., `slots`, `attrs`, `emit`) -- **BREAKING:** `functional` attribute on single-file component (SFC) `