supukarmin / env-hoc Goto Github PK
View Code? Open in Web Editor NEWProvides a universal HOC (higher-order component) for React and populates the component props with an env property, which gives access to cookies, language(s), userAgent and other variables on server-side and client-side in a standardized way.
License: MIT License