You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
484 B
14 lines
484 B
<?php
|
|
|
|
/**
|
|
* sends a react view to the user client.
|
|
* @param string $url url of the react file to render
|
|
* @param array<string, mixed> $arguments arguments to pass to the rendered react component
|
|
* The arguments must be a json-encodable key/value dictionary.
|
|
* @return void
|
|
*/
|
|
function send_react_front(string $url, array $arguments) {
|
|
// the $url and $argument values are used into the included file
|
|
require_once "react-display-file.php";
|
|
}
|