You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
Below are the high-level steps to achieving the migration:
Foundation
Install Reakit v1 on an aliased package (reakit-next@npm:reakit@beta)
Add in the Reakit v1 Provider
Use styled-components independently
NOTE: We will probably migrate to styled-components once v0 is fully out, and still depend on reakit/styled in the meantime.
Utility to wrap a Reakit component with reset styling, CSS props & spacing/color/font style overrides.
Primitives
Create a Box component
Wraps around Reakit v1's Box
The reason why we won't directly export Reakit v1's Box is because it now doesn't come with reset styles, inbuilt CSS props & Fannypacks spacing/color overrides.
Reakit v1 was released a few weeks ago now, so I think it would be nice to start to think about migrating from v0 to v1.
See the Reakit v1 migration guide here
I anticipate that this migration will be an incremental migration, starting with the Fannypack foundation, then moving to a per-component basis.
Here is the Reakit v1 branch
Below are the high-level steps to achieving the migration:
Foundation
reakit-next@npm:reakit@beta
)Provider
styled-components
independentlystyled-components
once v0 is fully out, and still depend onreakit/styled
in the meantime.Primitives
Box
componentBox
Box
is because it now doesn't come with reset styles, inbuilt CSS props & Fannypacks spacing/color overrides.Block
,InlineBlock
,Inline
,Flex
,InlineFlex
,Grid
componentsBox
Typography
TODO
Layout
TODO
Components
TODO
Form
TODO
Utilities
TODO
Templates
TODO
The text was updated successfully, but these errors were encountered: