Download the PHP package teameh/silex-react-renderer-provider without Composer
On this page you can find all versions of the php package teameh/silex-react-renderer-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teameh/silex-react-renderer-provider
More information about teameh/silex-react-renderer-provider
Files in teameh/silex-react-renderer-provider
Package silex-react-renderer-provider
Short Description Client and Server-side react rendering as a Silex service provider
License MIT
Homepage https://github.com/teameh/silex-react-renderer-provider
Informations about the package silex-react-renderer-provider
Silex React Renderer Service Provider
WARNING: Silex and this project are not maintained any more. Ends of life of Silex is set to June 2018.
Read more on Symfony's blog.
ReactRenderer
This provider integrates ReactRenderer in your Silex project. This lets you implement your frontend with React.js and let php do the server-side rendering, allowing the development of universal (isomorphic) applications.
See https://github.com/Limenius/ReactRenderer for full documentation on the renderer.
Usage
Basic example
All config options
Configuration options:
Rendering can be overridden on component basis, see https://github.com/Limenius/ReactRenderer
Credits
This project is a Silex adaption of Nacho Martín's great ReactBundle.
Both ReactBundle and this provider build on top of React On Rails, and uses react-on-rails
to render React components. Don't worry you don't need and won't see any Ruby when using this package.
All versions of silex-react-renderer-provider with dependencies
silex/silex Version ^2.0
twig/twig Version ^1.20|^2.0
limenius/react-renderer Version ^0.14.1