Closed jb-san closed 8 years ago
Hey- can you try using import {Preload} from "react-preload"
and see if that works?
Doesn't seam to work in ES6. Any news about that issue?
I should have a fix in today.
@blzzz Can you try installing the latest version from npm?
Works perfectly, thanks a lot.
Hi, I was trying to use this in a project, but I use es6 so the var
Preload = require("react-preload");
becomesimport Preload from "react-preload"
but Preload is undefined and I can not render the component, any ideas ?