Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

force all prefix #1023

@macrozone

Description

@macrozone

avoiding unneeded prefixes sounds like a good idea, until you want to cache SSR-results.

Including the userAgent in a cache-key is not practical, so you have to use all prefixes both on server and client (to avoid missmatch).

I tried to use radiumConfig={{userAgent: "all"}} on server and client, but i still get missmatch.

E.g. given this style:

    display: 'flex',
    padding: 10,
    alignItems: 'center',
    justifyContent: 'space-between',

produces:


Server: 

"padding:10px;
display:-webkit-box;
display:-moz-box;
display:-ms-flexbox;
display:-webkit-flex;
display:flex;
-webkit-align-items:center;
align-items:center;
-webkit-justify-content:space-between;
justify-content:space-between;
-ms-flex-align:center;
-webkit-box-align:center;
-ms-flex-pack:justify;
-webkit-box-pack:justify" 

Client: 

"padding:10px;
display:flex;
-webkit-align-items:center;
align-items:center;
-webkit-justify-content:space-between;
justify-content:space-between;
-ms-flex-align:center;
-webkit-box-align:center;
-ms-flex-pack:justify;
-webkit-box-pack:justify"

its weird that there are some prefixes (e.g. on flex-align. But "display: flex" is missing a prefix on the client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions