From ca85cc55c42d21a5eeb48cb2a06b928a3bf21a72 Mon Sep 17 00:00:00 2001 From: "maxime.batista" Date: Sun, 29 Oct 2023 16:09:07 +0100 Subject: [PATCH] fix typos and grammar messes in documentation --- Documentation/how-to-dev.md | 47 ++++++++++---------------- Documentation/react-php-integration.md | 28 --------------- 2 files changed, 18 insertions(+), 57 deletions(-) delete mode 100644 Documentation/react-php-integration.md diff --git a/Documentation/how-to-dev.md b/Documentation/how-to-dev.md index 046992f..5f8b59a 100644 --- a/Documentation/how-to-dev.md +++ b/Documentation/how-to-dev.md @@ -58,7 +58,7 @@ class SampleFormController { } ``` -As our views are now done using react (and defined under the `front/views` folder), we need to use the `send_react_front($viewURI, $viewArguments)` php function (located in the `src/react-render.php` file). +As our views are now done using react (and defined under the `front/views` folder), we need to use the `send_react_front($viewURI, $viewArguments)` php function (located in the `src/react-render.php` file) to render a react view. If you look at the `send_react_front($viewURI, $viewArguments)` function, you'll see that is simply loads the file `src/react-display-file.php` with given arguments. The file is a simple html5 template with a `