https://github.com/bexic/react-without-redux
import React, {
createContext,
useContext,
useReducer,
useCallback
https://github.com/bexic/react-without-redux
import React, {
createContext,
useContext,
useReducer,
useCallback
#!/usr/bin/env bash | |
# example) | |
# ./phpunit-watch src/ tests/ -c tests/ --colors | |
set -e | |
set -u | |
function usage | |
{ |
var twilio = require('twilio');
// You can find your Twilio Auth Token here: https://www.twilio.com/console
// Which can be set at runtime as follows:
// $ TWILIO_AUTH_TOKEN=XXXXXXXXXXXXXXXXXXX node index.js
var TWILIO_AUTH_TOKEN = process.env.TWILIO_AUTH_TOKEN
function validateTwilioRequest() {
var routes = Array.prototype.slice.call(arguments);
// import angular from 'angular'; | |
const DEBUG = require('../../common/Debug')('signup.controller'); //eslint-disable-line | |
class CartController { | |
constructor( | |
$http, | |
$localStorage, | |
$q, | |
$rootScope, | |
$scope, | |
$state, |