Fork me on GitHub

Hi, I'm trying to use this colorpicker: How can I listen to the change event called 'changeColor' from within a reagent component ?


any ideas oh how to make secure front-end routes using secretary - and reagent-utils? something like doesnt have to be a middle-ware; just having the user sign-in and protect other routes b4 they do so. (not strictly related to Reagent, i know but Im using Reagent for this project)


Hi @mswift42 so i recently had to do something similar here: its not a 1:1 to what you may be trying to do but it might spark an idea on your end basically, I would define an r/atom at the component level an have the -colorpicker $('color-picker-selector') on-change handler mutate the atom