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 { useFetchGet } from "../hooks"; | |
| import ResolvedComponent from "./"; | |
| /** | |
| * Example use case | |
| * @see [Use in an actual project]{@link https://github.com/jasonsbarr/Sprint-Challenge-Single-Page-Apps/blob/d379e83f5d2bb77566d5fd37bbf2d5812438417d/src/pages/Characters.js|Github} | |
| */ | |
| const Component = () => { | |
| const render = useFetchGet(url); |
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
Show hidden characters
| { | |
| "Bootstrap 4 full": { | |
| "scope": "html", | |
| "prefix": "boot4", | |
| "body": [ | |
| "<!doctype html>", | |
| "<html lang=\"en\">", | |
| "<head>", | |
| "\t<!-- Required meta tags -->", | |
| "\t<meta charset=\"utf-8\">", |
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
| { | |
| "name": "jasonsbarr/states-list", | |
| "description": "JSON-formatted list of all 50 states plus D.C.", | |
| "dateCreated": "7/2/2018", | |
| "dateLastEdited": "7/3/2018", | |
| "author": "Jason Barr", | |
| "email": "jason@jasonsbarr.com", | |
| "license": "Public Domain", | |
| "states": [ | |
| {"abbreviation": "AL", "name": "Alabama"}, |
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
| <?php | |
| /** | |
| * This assumes phinx.php and .env are both in the project root | |
| */ | |
| require __dir__ . '/vendor/autoload.php'; | |
| Dotenv::load(__dir__); | |
| $defaultDatabase = getenv('APP_ENV'); | |
| return [ |