D
D
Dmytro Karpovych2015-10-02 02:55:38
JavaScript
Dmytro Karpovych, 2015-10-02 02:55:38

How to use react-dom and react-router together?

Can you please tell me how to use react-dom and react-router together?
I use this without a router:

ReactDOM.render(<App/>, document.getElementById('app'));

I did not find an example with a router.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Gushchin, 2015-10-02
@ZAYEC77

How can you search like that?
https://github.com/rackt/react-router/blob/v1.0.0-...
Replace React.render with ReactDOM.render and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question