diff --git a/packages/runtime/native/CSS.ml b/packages/runtime/native/CSS.ml index 6478db83..5eaea321 100644 --- a/packages/runtime/native/CSS.ml +++ b/packages/runtime/native/CSS.ml @@ -485,8 +485,8 @@ let get_string_style_hashes () = let style_tag ?key:_ ?children:_ () = React.createElement "style" [ - String ("data-emotion", "css " ^ get_string_style_hashes ()); - Bool ("data-s", true); + String ("data-emotion", "data-emotion", "css " ^ get_string_style_hashes ()); + Bool ("data-s", "data-s", true); DangerouslyInnerHtml (get_stylesheet ()); ] [] diff --git a/styled-ppx.opam b/styled-ppx.opam index 60900e1b..a8e728a4 100644 --- a/styled-ppx.opam +++ b/styled-ppx.opam @@ -46,3 +46,7 @@ dev-repo: "git+https://github.com/davesnx/styled-ppx.git" depexts: [ ["@emotion/css"] {npm-version = ">=11.0.0"} ] + +pin-depends: [ + ["server-reason-react.0.3.1" "git+https://github.com/ml-in-barcelona/server-reason-react#ea16c107cd41a2e9d01dff358239eec37046951f"] +] \ No newline at end of file diff --git a/styled-ppx.opam.template b/styled-ppx.opam.template index 5263c9ae..2092d60f 100644 --- a/styled-ppx.opam.template +++ b/styled-ppx.opam.template @@ -1,3 +1,7 @@ depexts: [ ["@emotion/css"] {npm-version = ">=11.0.0"} ] + +pin-depends: [ + ["server-reason-react.0.3.1" "git+https://github.com/ml-in-barcelona/server-reason-react#ea16c107cd41a2e9d01dff358239eec37046951f"] +] \ No newline at end of file