From 69c1c235c2fe6264559ac2ea4a7fc2b51b0633b6 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Mon, 8 Apr 2024 09:45:24 +0300 Subject: [PATCH] docs: change the unnecessarily mocking tone of the React docs (#1905) --- website/docs/tutorials/react.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/website/docs/tutorials/react.md b/website/docs/tutorials/react.md index ac333b645..4ffe62ca5 100644 --- a/website/docs/tutorials/react.md +++ b/website/docs/tutorials/react.md @@ -402,15 +402,12 @@ Any expressions are allowed, not just simple variables. The only difference is, // Dear Watson,<0/>it's not exactly what I had in my mind. ``` -Obviously, you can also shoot yourself in the foot. Some expressions are _valid_ and won't throw any error, yet it doesn't make any sense to write: +Some expressions are _valid_ and won't throw any error, yet it doesn't make any sense to write: ```jsx -// Oh, seriously? {isOpen && } ``` -If in doubt, imagine how the final message should look like. - ### Message ID At this point we're going to explain what message ID is and how to set it manually.