react-nest-components
Installation
$ yarn add react-nest-components
or
$ npm install --save react-nest-components
Usage
;; const AppProviders = ; // Note: the above will create the following// const AppProviders = ({children}) => (// <AnalyticsProvider>// <LanguageProvider i18n={i18n}>// <ThemeProvider>// <CustomProvider>// {children}// </CustomProvider>// </ThemeProvider>// </LanguageProvider>// </AnalyticsProvider>// ); ReactDOM
Why do this? Why so extra?
TODO
- Add documentation
- Implement tests