Fork me on GitHub
#hoplon
<
2018-06-28
>
kennytilton11:06:15

@flyboarder My Matrix lib has a macro for every tag. I have a macro that writes them all. 🙂 I am pretty sure that is why figwheel cannot handle Matrix 🙂 🙂 I use the macros to hide boilerplate. That might be a truism.

kennytilton22:06:48

Actually I have a deftags macro invoke deftag on a long list of tags I scraped from somewhere.

kennytilton22:06:15

I hate typing.

kennytilton22:06:11

The final result would be a macro like button or div that (1) offers flexibility with parameters (like multi-methods only different) so I can leave off unnecessary params and (2) wraps tag children in “lifecycle” plumbing necessary to the dataflow framework.

kennytilton22:06:30

You can find TodoMVC at the same level in the repo tree.

kennytilton22:06:58

ps. You will note my projects are spawned by lien mies... or sth. That can build my code. pps. I suspect the macros because I think that is where the wheels came off with figwheel (pun unintended), but that is wild speculation.

flyboarder22:06:15

cool stuff I’ll take a look later today!

kennytilton22:06:20

Hang on, I keep shifting code between repos. Let me find the latest/greatest..

flyboarder23:06:54

@jjttjj the previous version of loop-tpl* with the remove could be improved, since we already know reduce is faster

flyboarder23:06:09

but it’s better than the reference implementation

jjttjj23:06:05

oh yeah good point