dwyl / dwyl/learn-elm-architecture-in-javascript

Remove the callback()

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.