turbine icon indicating copy to clipboard operation
turbine copied to clipboard

Error message in modelView

Open limemloh opened this issue 7 years ago • 0 comments

There should be an error message if model doesn't return what view needs.

const model = ({a, b}) => {
  ...
  return Now.of({c, d});
}
const view = ({c, e}) => div(...);
const comp = modelView(model, view)();

here I expect an error, because the model doesn't return e

limemloh avatar Jul 04 '17 12:07 limemloh