This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added: support for
Glamor
and styled-components
out of the …
…box. Now if you use [Glamor](https://github.com/threepointone/glamor/) to write your style, static rendering will take that into account and will prerender styles for you. Nothing to setup. It’s even injecting glamor ids if you want to rehydrate on startup. See [glamor server documentation](https://github.com/threepointone/glamor/blob/master/docs/ server.md) to setup hydratation (you will need to handle this yourself in your ``scripts/phenomic.browser.js``. Since [styled-components](https://styled-components.com/) [use Glamor under the hood](styled-components/styled-components#124) , this will work for this library as well. Ref #864
- Loading branch information
Showing
6 changed files
with
151 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters