Fork me on GitHub
#reagent
<
2019-01-10
>
escherize02:01:15

@henrik One thing you can do is use this macro to get a string with that in the output: https://github.com/weavejester/hiccup/blob/master/src/hiccup/page.clj#L61-L75

đź‘Ť 5
orestis14:01:46

Finally using reagent in anger. Many thanks to everyone involved in the project, writing blog posts etc — it’s been fantastic!

orestis18:01:24

I learned about the “in anger” expression from https://www.youtube.com/watch?v=8o01g6C7jWg

polymeris04:01:36

Interesting that nolen uses reagent in his demo, I thought he was the maintainer of the "competition"

Ahmed13:01:09

great talk

Whiskas19:01:46

Has someone ever experienced this error before?

Warning: unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
    at invariant (react-dom.development.js:56)
    at scheduleWork (react-dom.development.js:18407)
    at captureCommitPhaseError (react-dom.development.js:18159)
    at commitRoot (react-dom.development.js:17400)
    at completeRoot (react-dom.development.js:18913)
    at performWorkOnRoot (react-dom.development.js:18842)
    at performWork (react-dom.development.js:18750)
    at requestWork (react-dom.development.js:18724)
    at scheduleWork (react-dom.development.js:18402)
    at updateContainerAtExpirationTime (react-dom.development.js:19070)

WhoNeedszZz21:01:17

This happens when your application reloads, but only partially with some component being left out so when the reload happens they are in fact two different instances. I had this happening to me with re-frame-10x being in a window by itself and since it's a separate window it doesn't get reloaded.

manutter5119:01:56

I think I remember a recent conversation where someone did lein deps :tree and found they had 2 diff versions of React installed (one pulled in as a dependency of some other lib). Might be related to the “another copy of React” bit, though I don’t know about the “maximum update depth” part.

Whiskas19:01:36

it’s hapenning everytime i import a specific namespace on my code

Whiskas19:01:54

the thing is that, that code has nothing to do with react, it’s very weird :thinking_face:

Whiskas19:01:01

i will see that

Whiskas19:01:36

i found that react-create-class is in a different version