Closed gurnzbot closed 6 years ago
It looks like you are trying to preload some data. You could write your own implementation to do this using react-async-bootstrapper
(which supports react-async-component
), or you could alternatively use my library react-jobs
to achieve something similar. I am updating react-async-component
and react-jobs
to use the new versions of react-async-bootstrapper
though, so just a friendly heads up there. 👍
I am attempting to use this library for SSR.
I go to the route that loads the only async component I have in my app at the moment, and get the following error in the server console:
Routes.js
Home.js
I'm guessing it's because of the
initialAction
static function that preloads any data necessary from the store...??Any help is more than welcome :)