javascript - ReactJS: Sidebar with multiple views -
i try build single-page react.js app sidebar. here desired effect: imagine main page (area text settings sidebar ) has button. when click on button, sidebar displays list of items. when click on item view details slides on list view. imagine right sidebar works iphone settings menu. each actions changes url (react-router). is there working example? question on how organize kind of app when using react. update: manuel bitto wrote example , works except url-changing. se example using react-router because sidebar holds heavy content , url must change when open sidebar , when go deeper. here basic example start, please note it's first time try use react improved lot: <script type="text/jsx"> var closemenubutton = react.createclass({ render: function() { return <button onclick={this.props.onclick}>{this.props.children}</button>; } }); var menuitem = react.createclass({ render: function() { return <div...