This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Actions | |
| # --ignore-platform - to avoid compilation binary files | |
| # --no-bin-links - to not create executables in node_modules/.bin/ | |
| YARN_ARGS=\ | |
| --link-duplicates \ | |
| --no-bin-links \ | |
| --ignore-optional \ | |
| --ignore-scripts \ | |
| --disable-pnp \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| No code - no bugs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --var1: 0; | |
| } | |
| .root { | |
| /* .root-ZxY */ | |
| } | |
| .module .btn { | |
| /* .module-xYz .btn-Yzx */ | |
| } | |
| .module :global .btn { |
Here is example of fast implimentation with requests:
import fast, request from './';
const {log} = console;
class API {}
API.json = (...args) =>
// @fast request
fast(request)(...args).then(data => data.json());
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| `childEvents` -> `childViewEvents` | |
| `LayoutView` -> `View` | |
| `ItemView` -> `View` | |
| `onBeforeShow` -> `onRender` | |
| `templateHelpers` -> `templateContext` | |
| `(this|self)\.(\w+).show\(` -> `$1\.showChildView('$2', ` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { reduce } from 'lodash'; | |
| export default View => class extends Component { | |
| state = { | |
| values: {}, | |
| errors: {}, | |
| isSubmitted: false, | |
| isFresh: true, | |
| onChangeField: (field, value, validation) => { |