keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
urbank 2017-08-11T07:02:00.841981Z

@mihaelkonjevic Cool, I'll check it out later today!

urbank 2017-08-11T08:22:46.140308Z

@mihaelkonjevic With the forms support in toolbox. Is there an established helper function to cancel a form. So reset to the :initial-data and unmount form? Shouldn't this be a method of the IForm protocol? Oh, and will IForm protocol also become a multimethod?

mihaelkonjevic 2017-08-11T09:35:01.560542Z

@urbank yes forms will be changed to multimethods

mihaelkonjevic 2017-08-11T09:35:27.568872Z

you don’t need to reset to initial data

mihaelkonjevic 2017-08-11T09:36:24.588116Z

you can just unmount the form, and it will remove the state

mihaelkonjevic 2017-08-11T09:37:46.613871Z

if you take a look at the forms/mount-controller you can see how it unmounts the forms

mihaelkonjevic 2017-08-11T11:29:11.522343Z

@urbank toolbox 0.1.0-SNAPSHOT-1 is out

mihaelkonjevic 2017-08-11T11:29:39.529849Z

forms are now the same as controllers https://github.com/keechma/realworld-starter-kit/blob/latest-keechma/src/cljs/realworld/forms/login.cljs

urbank 2017-08-11T12:00:14.034029Z

@mihaelkonjevic Oh, that makes sense. Cool. I'll try the multimethod version now

urbank 2017-08-11T19:18:14.417016Z

@mihaelkonjevic Everything seems to be working with the new version. πŸ‘

πŸŽ‰ 1