eversport / intl-codegen

generate code and type definitions from translations
MIT License
15 stars 1 forks source link

Context export #18

Closed treylon closed 5 years ago

treylon commented 5 years ago

It would be great if we could export the context as one and not split up into Provider and Consumer. This would allow us to use the useContext hook from now on instead of child-render props.

Swatinem commented 5 years ago

fixed by https://github.com/eversport/intl-codegen/pull/19