From 313b5635ded2ef4a4afdb370ee0c6aaaba32e814 Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Mon, 1 Jun 2020 18:01:44 +0200 Subject: [PATCH] clarify `UNSAFE_` functions are not scheduled for removal --- website/docs/MigrationV2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/MigrationV2.md b/website/docs/MigrationV2.md index 2a0a5a98c..cad360298 100644 --- a/website/docs/MigrationV2.md +++ b/website/docs/MigrationV2.md @@ -92,7 +92,7 @@ Following query functions have been removed after being deprecated for more than - `queryByName` - `queryAllByName` -The `*ByType` and `*ByProps` queries has been prefixed with `UNSAFE_`. You can rename them using global search/replace in your project: +The `*ByType` and `*ByProps` queries has been prefixed with `UNSAFE_`. These `UNSAFE_` functions are not planned for removal in future versions but their usage is discouraged. You can rename them using global search/replace in your project: - `getByType` -> `UNSAFE_getByType` - `getAllByType` -> `UNSAFE_getAllByType`