RouteHandler in React Does Not Respond

Asked 2 years ago, Updated 2 years ago, 54 views

I'm trying to use a React-Router, but
The DOM that RouteHandler should call is not displayed.

HTML: https://github.com/hideokamoto/wp-react/blob/master/index.html
JS: https://github.com/hideokamoto/wp-react/blob/master/src/app.js

https://github.com/koba04/react-server-side-rendering-sample/blob/master/components/top.js
As far as I can see, I thought it would be okay if I could createClass and return XML.

var Inbox
var Calendar
var Dashboard

Only the tags written in each are not displayed, so
I think there is a problem with the above three variables, but could someone please tell me...?

reactjs

2022-09-30 20:48

1 Answers

Self-resolved.

var App All you have to do is define values such as Inbox and Dashboard before


2022-09-30 20:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.