Skip to content

Instantly share code, notes, and snippets.

View pierissimo's full-sized avatar

Piero Maltese pierissimo

View GitHub Profile
apiVersion: apps/v1
kind: Deployment
metadata:
name: br2
labels:
app: br2
spec:
replicas: 4
selector:
matchLabels:
export const mergeReducers = (...reducers) => (state, payload) =>
reducers.reduce((newState, fn) => fn(newState, payload), state);