Closed colshacol closed 6 years ago
https://codepen.io/colshacol/pen/MOzMOQ?editors=0010
I went to check out the CodePen example and found that it did not work.
I referred to the hyperapp docs and found that app.view needed to be composed of two functions rather than one function that takes two arguments.
app.view
Then I got a similar error with actions.toggle and found in the docs that actions should be structured the same way as the view.
actions.toggle
I made these changes on a "fork" for you to review and update your existing CodePen example.
... And, for compliance and to make myself feel like a real contributor...
When going to check out the CodePen example, the example works.
When going to check out the CodePen example, the example not works.
Go checkout the CodePen example.
Fixed! Thanks 🙏
https://codepen.io/colshacol/pen/MOzMOQ?editors=0010
I went to check out the CodePen example and found that it did not work.
I referred to the hyperapp docs and found that
app.view
needed to be composed of two functions rather than one function that takes two arguments.Then I got a similar error with
actions.toggle
and found in the docs that actions should be structured the same way as the view.I made these changes on a "fork" for you to review and update your existing CodePen example.
... And, for compliance and to make myself feel like a real contributor...
Expected:
When going to check out the CodePen example, the example works.
Actual:
When going to check out the CodePen example, the example not works.
Steps to Reproduce:
Go checkout the CodePen example.