Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Root" core container component (data provider) #37

Merged
merged 2 commits into from
Nov 20, 2018

Conversation

arcticicestudio
Copy link
Contributor

Closes #36

It renders the passed `children` within a `React.Fragment`.

The `Root` core container is the first and one of the important main
data provider React components of this project. It represents the base
element and entry point that wraps the all custom application components
and serves as a data provider later on. Some of the tasks in the future
will be to

- provide context props and functions for the global theme through
  styled-components (1) `ThemeProvider` (3) component
- inject global styles through styled-components
  `createglobalstyle` (3) function including typography (GH-2) related
  data like application-wide used fonts
- possibly data stores for state management libraries like MobX (4)

References:
  (1) https://styled-components.com
  (2) https://www.styled-components.com/docs/api#createglobalstyle
  (3) https://www.styled-components.com/docs/api#themeprovider
  (4) https://mobx.js.org

GH-36
This commit is the initial implementation and renders an self-closing
"Root" component.

GH-36
@arcticicestudio arcticicestudio merged commit 0465f37 into develop Nov 20, 2018
@arcticicestudio arcticicestudio deleted the feature/gh-36-root-core-container-component branch November 20, 2018 18:38
@arcticicestudio arcticicestudio removed their assignment Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants