Purpose
I want to experiment register pattern into react project
Installation
yarn add global-register-pattern
or npm install --save global-register-pattern
How to use it ?
GR;GR;
Methods
register
To use like that GR.register(key, value);
getValue
To use like that:
GR.getValue(key);
GR.getValue(a[0].b);
GR.getValue(a.b);
GR.getValue('.');