An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
Did you know why you need to use react and react-dom when building React.js projects?
Because React just provides the logic but depends on a renderer to actually output stuff which is where react-dom comes in to render the UI to the browser DOM.
There is a lesser-known package called react-reconciler which is the package react-dom is using and it is what you will use to create your own custom React.js renderers.
Yes, that’s exactly as Hammed described. The solution is component based http server and you can pass your regular react dom components and render them. Use useContext hook to get req, res in the components you gonna pass in it
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is cool! ReactPHP might be a more relevant name thought JK :P
Bdw, What rendering engine did you use?
Did you know why you need to use
react
andreact-dom
when building React.js projects?Because React just provides the logic but depends on a renderer to actually output stuff which is where
react-dom
comes in to render the UI to the browser DOM.There is a lesser-known package called
react-reconciler
which is the packagereact-dom
is using and it is what you will use to create your own custom React.js renderers.Good callout @devhammed !
Yes, that’s exactly as Hammed described. The solution is component based http server and you can pass your regular react dom components and render them. Use useContext hook to get req, res in the components you gonna pass in it