Skip to content

Instantly share code, notes, and snippets.

View strobox's full-sized avatar
🌐
Working on open source

strobox

🌐
Working on open source
View GitHub Profile
@anaisbetts
anaisbetts / example.tsx
Created January 13, 2019 04:49
RxJS + React Hooks
import { Model, when } from '@whenjs/when';
import { scan } from 'rxjs/operators';
import { useState } from 'react';
import { useObservable } from '../src/when-react/use-helpers';
class ViewModel extends Model {
public foo: number;
constructor() {
@coryhouse
coryhouse / package.json
Last active October 26, 2023 21:41
Example of calling one script from another
{
"name": "npm-scripts-example",
"version": "1.0.0",
"description": "npm scripts example",
"scripts": {
"clean": "rimraf ./dist && mkdir dist",
"prebuild": "npm run clean",
"build": "cross-env NODE_ENV=production webpack"
}
}
@magnetikonline
magnetikonline / README.md
Last active November 27, 2023 21:12
Setting Nginx FastCGI response buffer sizes.