3 ms·
ReactDOMServer also outputs strings; it just works with context-aware objects during template processing. The point here is that PHP templates work with string
by lucideer 5y ago
ReactDOMServer also outputs strings; it just works with context-aware objects during template processing.
The point here is that PHP templates work with strings as a design choice: there's nothing about PHP as a language that's preventing you from taking a similarly context-aware template-processing approach.