workflow:
$ rails g model NameOfModel
invoke active_record
create db/migrate/YYYYMMDDHHMMSS_create_name_of_models.rb
import React, { Component } from 'react'; | |
import { Platform, StyleSheet, Text, View } from 'react-native'; | |
import Video from 'react-native-video'; | |
import MediaControls, { PLAYER_STATES } from 'react-native-media-controls'; | |
export default class WatchVideo extends Component { | |
videoPlayer; | |
constructor(props) { | |
super(props); |
class Pokemon { | |
constructor(_pokemon) { | |
this.name = _pokemon.name || 'unknown'; | |
this.power = _pokemon.power || 1; | |
this.attack = _pokemon.attack || 1; | |
this.defense = _pokemon.defense || 1; | |
} | |
toString() { | |
return `${this.name} - power: ${this.power}; attack: ${ | |
this.attack |
Verifying my Blockstack ID is secured with the address 1Cg8WtT1kYGwTaVL5qomrRAnKK9rgMkefh https://explorer.blockstack.org/address/1Cg8WtT1kYGwTaVL5qomrRAnKK9rgMkefh |