turbine
turbine copied to clipboard
Error message in modelView
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