babashka / sci.configs

A collection of ready to be used SCI configs
https://babashka.org/sci.configs/
Other
19 stars 17 forks source link

Re-frame simplification #12

Closed borkdude closed 1 year ago

borkdude commented 1 year ago

@bolivier Made a simplification. Since re-frame has no macros AFAIK, we can use sci/copy-ns in this case.

bolivier commented 1 year ago

Sweet!

borkdude commented 1 year ago

@bolivier Was there a reason you wanted to have this in sci.configs? I remember talking about this with someone, maybe in the context of scittle, but I don't remember it exactly.

bolivier commented 1 year ago

For Scittle, yeah. I'm working on a project and realized it'd be simpler to manage the state with re-frame compared to plain reagent.

I have a branch of Scittle where it's working. I was planning to open a PR there next, but I can skip that if you don't want to include it.

borkdude commented 1 year ago

@bolivier Yes please :)