A
A
Alexander Ivanov2016-01-19 22:45:37
PHP
Alexander Ivanov, 2016-01-19 22:45:37

Is it possible to make friends with react.js and php, and are there any examples?

There are many good solutions written in php. React.js is also a good solution but for node.js and io.js.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IvanDix, 2016-01-25
@cimonlebedev

React runs in the browser and can be used without node.js. And php runs on the server. Those. they don't interfere with each other in the first place. And they can be easily befriended.
React can be written in pure JS. But no one does that. They write in jsx, this is js with sugar. Which can be compiled directly in the browser
type=text/babel ... , or using node.js and already giving pure js.
For React development, webpack is installed (written in node.js) or similar. Again, it is possible without it, but it is much more convenient with it. Very easy to set up. Here are the screencasts https://learn.javascript.ru/screencast/webpack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question