-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Experimenting with an SSR aware mode that simply renders through the component. * Added an SSR mode flag. When we are running in SSR mode then we simply render out the wrapped component. It will receive undefined for both width and height. * Added a global flag to control SSR behaviour so that we can replicate the behaviour on both the client and the server and therefore avoid any React checksum issues. * feat(server): Added support for Server Side Rendering. We now have support (kind of) for SSR, in which case we disable the rendering of the placeholders and send through null values for width/height to the wrapped components. Read the docs and tread carefully. closes #7
- Loading branch information
Showing
4 changed files
with
220 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.