react-head

v3.4.2
SSR-ready Document Head management for React 16+
react head portals ssr isomorphic

prepare

npm run test && npm run build

build:flow

echo "// @flow export * from '../src'" > dist/index.cjs.js.flow

build:watch

rollup -c --watch

build

rollup -c && npm run build:flow

example

cd example && npm ci && npm run start

dev

run-p build:watch example

test

jest --no-cache

posttest

npm run lint

test:watch

jest --watch

typecheck:flow

flow check --max-warnings=0

lint

eslint ./src

prettier

prettier --write "src/**/*.js"

precommit

lint-staged
npm i react-head

Metadata

  • MIT
  • Whatever
  • Jeremy Gayed
  • released 8/10/2022

Downloads

Maintainers