2017 © Pedro Peláez
 

symfony-bundle react-bundle

Client and Server-side react rendering in a Symfony Bundle

image

limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

  • Saturday, May 26, 2018
  • by nacmartin
  • Repository
  • 20 Watchers
  • 290 Stars
  • 114,561 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 26 Forks
  • 3 Open issues
  • 23 Versions
  • 11 % Grown

The README.md

ReactBundle

ReactBundle integrates ReactRenderer with Symfony. This lets you implement React.js client and server-side rendering in your Symfony projects, allowing the development of universal (isomorphic) applications., (*1)

Note: If you are new to React.js, please note that this bundle is not by any means required to use React with Symfony. This allows you to do some advanced features such as Server Side Rendering, or injecting components directly from Twig tags., (*2)

Features include:, (*3)

  • Prerender server-side React components for SEO, faster page loading, and users that have disabled JavaScript.
  • Twig integration.
  • Client-side render will take the server-side rendered DOM, recognize it, and take control over it without rendering again the component until needed.
  • Error and debug management for server and client side code.
  • Simple integration with Webpack.

Latest Stable Version Latest Unstable Version License, (*4)

Example

For a complete example, with a sensible Webpack set up and a sample application to start with, check out Symfony React Sandbox., (*5)

Documentation

The documentation for this bundle is available in the Resources/doc directory of the bundle:, (*6)

Installation

All the installation instructions are located in the documentation., (*7)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*8)

LICENSE.md

Credits

ReactBundle is heavily inspired by the great React On Rails, and uses its npm package to render React components., (*9)

The installation instructions have been adapted from https://github.com/KnpLabs/KnpMenuBundle. Because they were great., (*10)

With Silex

Silex was discontinued in June 2018. However, if you wish to use ReactRenderer with Silex, check out @teameh Silex React Renderer Service Provider., (*11)

The Versions

23/11 2017
13/09 2016

v0.9.2

0.9.2.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

07/09 2016

v0.9.1

0.9.1.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

06/08 2016

v0.9.0

0.9.0.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

12/04 2016

v0.8.4

0.8.4.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

20/03 2016

v0.8.3

0.8.3.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

21/02 2016

v0.8.2

0.8.2.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

15/02 2016

v0.8.1

0.8.1.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic

14/02 2016

v0.8.0

0.8.0.0

Client and Server-side react rendering in a Symfony Bundle

  Sources   Download

MIT

The Requires

 

by nacho

react isomorphic