Fork me on GitHub
#announcements
<
2020-04-13
>
beders21:04:38

Here's a very silly reagent component: Rough-cljs which makes diagrams with a hand-drawn look! It's a simple wrapper and I did it mostly out of a desire to learn more about CLJS, Reagent and Shadow-cljs and the whole process of actually getting something out there. It's my first contribution to the CLJS open source community, so I'm happy for any feedback. https://rough-cljs.netlify.com/

😁 24
👍 36
metasoarous22:04:10

Very cool! Nice work 🙂 You might want to consider renaming the component to rough from Rough; The latter is conventional with vanilla JS react components, while the former is generally considered more idiomatic with cljs/Reagent. As you like though. Either way, thanks for releasing this!

beders22:04:28

thanks for the feedback, I had no idea about the convention. I name all my functions that are used in hiccup that way though. Will add an alias

👍 4