dwyl / dwyl/learn-elm-architecture-in-javascript
Remove the callback()
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 218
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Removing the callback might not be a simple thing for some beginners. Edit suggestion below:
```js
function signal(action) {
// return function callback() { // comment out to remove callback
model = update(model, action);
view(signal, model, root);
// }; // comment out to remove callback.
};
```
Then refresh the browser and check the console.
Contributor guide
Assessment
This issue has not been assessed yet.