Closed cereallarceny closed 5 years ago
It didn't take long. The web has grown a lot since I first developed this project. Lo and behold @jaredpalmer has beat me to it. I'm going to shut down shop at cra-ssr in favor of a better solution: Razzle.
To anyone looking to use cra-ssr, I highly suggest you check out Razzle instead.
Thank you for all the work @cereallarceny, I have used cra-ssr in many projects. Lately I have been using react-snap but I will definitely look into Razzle.
@cereallarceny that's a pity, I chose cra-ssr over razzle as it was very straightforward to understand what was happening in the background, thanks for your awesome project anyway :)
Thank you for your support @hugominas and @microcipcip! Of course, I'll leave the repo online. If Razzle isn't your thing, you might want to check out CRA Universal. It's a similar approach to cra-ssr. Likewise, I suggest you check out Razzle again - it's seemingly identical to what I intended to do for version 2 of cra-ssr.
I honestly like cra-ssr over razzle, the latter has too many things under the hood that made my other integrations a pain in the ass (i.e. Ant Design, etc.)
I was likely going to take a nearly identical approach anyhow @harrison0723, but I appreciate the kind words!
To summarize, I'm doing a total rewrite of
cra-ssr
to bring it up to date with the latest the React community has to offer.This is to be considered a living document. I'm taking suggestions on features you'd like to see, comment below!
Features (most of which already exist):
react-frontload
)isServer
flag to help front-end libraries know when it's safe to usewindow
(https://github.com/cereallarceny/cra-ssr/issues/44)Bugs to keep in mind:
https://github.com/cereallarceny/cra-ssr/issues/53