Fork me on GitHub
#reagent
<
2016-11-08
>
sophiago00:11:38

@johanatan tbh someone told me to go look at om-next and it seems like a perfect fit so far. it's funny at first glance i thought reagent was the most true to react (and it's not really accurate to compare hiccup to jsx) but om is turning out moreso with my own style of components, i suppose largely because i had no idea om-next existed

johanatan00:11:00

@sophiago i don't really understand what you mean by that: all of the react mechanisms are exposed w/ reagent as well

johanatan00:11:07

but, good luck!

sophiago00:11:08

well that was my initial thought looking at the docs. they wrap everything so i was going to go that route, but then would be a bit blind documentation wise

sophiago00:11:03

but then when tipped off to om-next it really does seem ideal if you're used to using the top-level react api

sophiago00:11:00

like it feels like how i imagined reagent would. not that reagent wouldn't be a great choice if i hadn't already made design choices based on react

johanatan00:11:03

and you're familiar with the with-meta pattern for overriding the lifecycle methods?: http://stackoverflow.com/questions/27602592/reagent-component-did-mount

johanatan00:11:30

between with-meta, as-element and adapt-react-class it should be "game over" as far as interacting with React goes

johanatan00:11:41

i.e., they are "React-complete" if you will (a la Turing-complete)

sophiago00:11:59

so there's reagent/createFactory?

sophiago00:11:20

seeing as that's one of the top-level react api functions you could count on two hands?

codxse09:11:32

how to parse &copy; symbol? on the browser it doesn't render.

mping11:11:50

is there a way to peek at re-frame’s global db state through a repl/console?

mping11:11:03

I know I can have debug middlewares but I’d like to inspect it directly

mccraigmccraig12:11:31

@mping @re-frame.db/app-db is the value you are looking for

mccraigmccraig12:11:36

there is #re-frame too @mping

mping13:11:46

lol tks, I completely missed it, went straight to debugging faq

Pablo Fernandez17:11:13

In a project in which we se react with addons, in my machine, react.inc.js is being included instead of the one with addons. Any ideas what might cause this?

upgradingdave19:11:30

Hi @pupeno, maybe some other library is bringing react in as transitive dependency? If that’s the case, you can check with lein tree I think.

johanatan21:11:38

@sophiago (.createFactory js/React "your_type_here")