Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
// store/pokemon.store.js | |
import { | |
get, | |
computed, | |
action, | |
makeAutoObservable, | |
createTransformer, | |
} from "mobx"; | |
class PokemonStore { |
import { observable } from 'mobx' | |
import { observer } from 'mobx-react' | |
const store = observable({ | |
prop1: 1, | |
prop2: 2, | |
... | |
}) | |
function ComponentA () { |
This an ordered version of the original gist located at https://gist.github.com/marcanuy/06cb00bc36033cd12875
// Bound Actions | |
import { observable } from "mobx"; | |
class Counter { | |
@observable count = 0; | |
@action.bound | |
increment() { | |
this.count++; | |
} | |
} | |
const counter = new Counter(); |
// @flow | |
type ResolvedScalar = string | number | boolean | null; | |
type ResolvedValue = | |
| ResolvedScalar | |
| Array<ResolvedValue> | |
| {[key: string]: ResolvedValue}; | |
type ResolverFunction = (...args: Array<any>) => ResolvedValue; | |
export type ResolverMap = { |
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
let window = UIWindow(frame: UIScreen.main.bounds) |
--- | |
Description: AWS AppSync Notes API | |
Parameters: | |
APIName: | |
Type: String | |
Description: Name of the API - used to generate unique names for resources | |
MinLength: 3 | |
MaxLength: 20 | |
AllowedPattern: '^[a-zA-Z][a-zA-Z0-9_]*$' |