react-esi
react-esi copied to clipboard
React ESI: Blazing-fast Server-Side Rendering for React and Next.js
Related: #31
Travis doesn't work anymore, we must migrate to GitHub Actions.
This Pull Request only change in README.md ReactJs Example from Class Component to Functional Component.
Regarding the official usage of `prop-types`: https://github.com/facebook/prop-types#how-to-depend-on-this-package, its needs to be a `dependencies` instead of `devDependencies`. I would propose a PR if you like.
The example, which is currently linked in the react-esi readme, no longer exists: https://github.com/zeit/next.js/blob/canary/examples/with-react-esi/ Is there a reason this was removed? i.e., something about it doesn't work correctly? Or has...
Is there any downsides of opting-out from default Next.js server? On Next.js website it's [stated](https://nextjs.org/docs/advanced-features/custom-server): >Before deciding to use a custom server please keep in mind that it should only...
I was wondering how can I render an HTML fragment which is not a component... For example: Let's say that `example.com/esi-fragment` is serving ``` content ``` So, as per ESI...
Two pieces of the README first: **withESI usage:** const MyFragmentESI = withESI(MyFragment, 'MyFragment'); // The second parameter is an unique ID identifying this fragment. // If you use different instances...