So I have this app, Lets say it is similar to Facebook posting something on your wall,
Everything is rendered on a PHP server / Codeigniter Framework and sent to the client, I need these posts to be rendered using ReactJS because I have awesome things I like to do inside each of these post
- Like
- Comment
- Edit / Report
I DO NOT WANT TO USE V8JS, because the client can not play with the php servers, just need the php script to work that's it,
Any thoughts how I could do this guys? Thanks so much,
One Idea is to may be,
Load the posts as server rendered and then do a GET request and render the same posts again using ReactJS? Will that work?
Or is there a way to attach all ReactJS functions and events to a server rendered html page?