Open Rowleen opened 6 years ago
@Rowleen do you have any more details? What tools are you using (webpack?).
Do you have a test case so I can reproduce?
I believe this is happening due to SSR, got it working by moving preload require inside react componentDidMount
but ideally react-preload
would work with SSR
This is the error that I get when I try to use preload in my project.
(function (exports, require, module, __filename, __dirname) { import _Preload from './Preload';