Fork me on GitHub

@sova you want remote to communicate directly with datomic transactor?


Hi there, I’m playing with and got completely excited about the prospect of server-side rendering of components, and even finding an example on @anmonteiro’s Github page, so I took this as a guideline, but whenever I call

I get a failed assertion
(or (satisfies? p/IReactComponent x) (satisfies? p/IReactDOMElement x))
, is this a known problem? or am I (most probably), doing something wrong?


@mavbozo na i am just wondering about setting up remotes... as simple as writing mutate/read fns that talk with datomic.api/q?

Yehonathan Sharvit19:01:49

How could I make a component render only once at init time and never render again after that?

Yehonathan Sharvit19:01:52

I’d like somehow to leave the component in the DOM and modify it from outside react

Yehonathan Sharvit19:01:11

Without having react re-rendering the component


@viebel my guess is that you can add the element to the page and not supply a react-ID somehow... although i'm uncertain of the behavior at that point

Yehonathan Sharvit19:01:24

What about unmounting the component?

Yehonathan Sharvit20:01:59

There is ReactDOM.unmountComponentAtNode

Yehonathan Sharvit20:01:12

Is it safe to use it inside


Ummm.. probably! Optionally you can create a totally different root component and mount it onto another div in your app.