blia Dec 22 14:43
форкни фетч еба
Iurii Plugatariov @strangeworks Sep 18 22:09
blia Dec 22 14:43
форкни фетч еба
Iurii Plugatariov @strangeworks Sep 18 22:09
Николай Беличук: Карты и картографические сервисы
http://belichuk.github.io/odessajs2016/
Артем Тритяк: Forward to the Past or data fetching in React.js
https://medium.com/@ArtyomTrityak/forward-to-the-past-or-data-fetching-in-react-js-9f4ccfa29c10#.b4lxxf9f5
Юрий Шевцов: Internet of things в офисе
https://docs.google.com/presentation/d/1nhCQQTHeKGXuMMGOyYXDS2z0J7xP6ee8xUGZ0EM22do/edit?usp=sharing
Вадим Макеев: Grid Layout
| var Uploader = Ember.Object.extend(Ember.Evented, { | |
| url: null, | |
| paramNamespace: null, | |
| paramName: 'file', | |
| isUploading: false, | |
| /** | |
| * ajax request type (method), by default it will be POST | |
| * | |
| * @property type |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: Ember.computed.alias('model.firstObject.bar.foo.name'), | |
| bar: Ember.computed.alias('model.firstObject.bar'), | |
| test: Ember.computed('bar', function () { | |
| return this.get('bar.foo').then(function (d) { | |
| console.log(d.get('name')) | |
| }) | |
| }) |
| ... | |
| render () { | |
| ... | |
| return <div className={{styles.root}}> | |
| <div className={{styles.wrap}}> | |
| <this.Cover/> | |
| </div> | |
| <this.Description/> | |
| </div> |
| <Spinner-component>Loading...</Spinner-component> |
| render(( | |
| <Router> | |
| <Route path="/" component={App}> | |
| <Route path="about" component={About}/> | |
| <Route path="users" component={Users}> | |
| <Route path="/user/:userId" component={User}/> | |
| </Route> | |
| <Route path="*" component={NoMatch}/> | |
| </Route> | |
| </Router> |
| <My-nav> | |
| <Link-to-home/> | |
| <Link-to-about-us/> | |
| <Link-to-contacts/> | |
| <Link-to-blog/> | |
| <Nav-spacer/> | |
| <Nav-dropdown> | |
| <Profile-cart/> | |
| <Nav-dropdown-menu> | |
| <Nav-dropdown-item-loguot/> |
Пишете вы, к примеру, прототип на бутстрапе. Сделали форму. В форме есть кнопка. Нормальный jsx
<button type="button" className={cx('btn', 'btn-success', 'btn-sm')} onClick={this.save}>
Save
</button>С использованием библиотеки http://react-bootstrap.github.io