You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create reactor.js as per above url and completed all the documentation.
After building & running app, below is the error i have experiencing with at 'reactor.dispatch(RECEIVE_PRODUCTS, { products })' line of code in actions.js file. VM31785:6061 Uncaught Error: dispatch cannot be called with an undefined action type.
Anyone has any suggestions?
The text was updated successfully, but these errors were encountered:
It looks like RECEIVE_PRODUCTS is undefined. Do you have an action types file? How do you export/import action types in the actions file (assuming that you use dispatch inside actions).
Following below https://optimizely.github.io/nuclear-js/docs/01-getting-started.html to see shopping cart example from nuclearjs demo.
VM31785:6061 Uncaught Error:
dispatch
cannot be called with anundefined
action type.Anyone has any suggestions?
The text was updated successfully, but these errors were encountered: