React komposer docs say that custom loading screen is added like this:
const MyLoading = () => (<div>Hmm…</div>); const Container = compose(composerFunction, MyLoading)(Component);
composeWithTracker() is used in Meteor instead of
When use it in the example above like this:
const Container = composeWithTracker(composerFunction, MyLoading)(Component);
I get the following error on browser console:
Uncaught ReferenceError: React is not defined
How do I add custom loading screen to react komposer?