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 September 26, 2024 04:50
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 September 5, 2024 14:55
Setting Nginx FastCGI response buffer sizes.