Null
is a proxy that always returns itself when you try to access its value.
It avoids having the error cannot read property "..." of undefined
import { Null } from "null";
Null.foo.bar.baz; // returns Null
npm install --save git+https://github.com/Ayc0/null.git
yarn add null@https://github.com/Ayc0/null