The path.join() method joins all given path segments together using the platform specific separator as a delimiter, then normalizes the resulting path.
{routes.map((route, index) => (
route.path == '/' ? null : <Route
key={index}
path={route.path}
exact={route.exact}
component={route.sidebar}
/>
))}
</div>
x-webkit-speech
нестандартный атрибут, react его показывать не будет. Можно обойти, сделав <input is type="text" placeholder="Поиск" x-webkit-speech='' />
Ещё есть require('react-dom/lib/ReactInjection').DOMProperty
<input type="text" placeholder="Поиск" ref={c => c.setAttribute('x-webkit-speech', '')} />
return React.createElement("input", _defineProperty({
name: data.name,
type: data.type,
defaultValue: data.value,
value: this.state.value,
className: data.className + this.state.error_emty_field,
placeholder: data.placeholder,
onChange: data.onChange
}, "onChange", this.enterToThisState.bind(this)));