Fork me on GitHub
#reagent
<
2015-10-21
>
eggsyntax00:10:31

Not I, but I’m definitely curious to hear what you find out!

coyotespike01:10:25

@venantius might have some wisdom, I'm currently trying to figure out how to use the Accountant library

venantius02:10:23

@coyotespike: I can’t comment on how well Accountant works with search engines, but there’s no need for hashbang magic simple_smile

coyotespike03:10:39

It's much prettier without hashbangs! simple_smile

coyotespike03:10:52

However, even with the intuitive goodness of Accountant, it turns out that Google is not any happier with , as this returns a 404

coyotespike03:10:33

So I'm working on http://prerender.io - I'll try to throw the results of all this into a gist @eggsyntax

mbertheau10:10:50

What are good arguments on using display none vs not emitting the html at all?

pepe11:10:45

@mbertheau: for me it mostly fits into declarative programming style

pepe11:10:35

@mbertheau: sorry, emitting html

pepe11:10:57

but it could be it is only my own mental model

pepe11:10:27

and for sure, the debugging could be harder (on-mouse-enter and such)

gabe19:10:13

is creating a cursor from a cursor supported?

darwin21:10:21

@mbertheau: I would not recommend display:none for components which have deep DOM structure or potentially render other components. Bail out as early as possible and let react effectively update the DOM by not emitting html at all. Display:none was handy in times of $(“.section”).hide(), that is history.

eggsyntax21:10:09

I haven't used display:none, but it does seem to be React's official recommendation (if your component is stateful & you don't want to lose track of that state): https://facebook.github.io/react/docs/multiple-components.html#stateful-children