flummox icon indicating copy to clipboard operation
flummox copied to clipboard

Better error message if non-class passed to createActions() or createStore()

Open acdlite opened this issue 11 years ago • 1 comments

The problem in issue #47 could have been avoided if a better error message were thrown.

acdlite avatar Feb 26 '15 20:02 acdlite

I've been having a look at this and it doesn't seem possible to question if an object is a class since it gets compiled into a function. A simple answer might be to have the 'forgot to extend store' error suggest making sure that the object is indeed a class.

jackcallister avatar May 16 '15 17:05 jackcallister