Skip to content

Commit a4e3c46

Browse files
Update server-reason-react to latest (#524)
* chore: bump server-reason-react * feat: change JSX variants to handle jsx prop name
1 parent 868231c commit a4e3c46

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

packages/runtime/native/CSS.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ let get_string_style_hashes () =
497497
let style_tag ?key:_ ?children:_ () =
498498
React.createElement "style"
499499
[
500-
String ("data-emotion", "css " ^ get_string_style_hashes ());
501-
Bool ("data-s", true);
500+
String ("data-emotion", "data-emotion", "css " ^ get_string_style_hashes ());
501+
Bool ("data-s", "data-s", true);
502502
DangerouslyInnerHtml (get_stylesheet ());
503503
]
504504
[]

styled-ppx.opam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ dev-repo: "git+https://github.com/davesnx/styled-ppx.git"
4646
depexts: [
4747
["@emotion/css"] {npm-version = ">=11.0.0"}
4848
]
49+
50+
pin-depends: [
51+
["server-reason-react.0.3.1" "git+https://github.com/ml-in-barcelona/server-reason-react#ea16c107cd41a2e9d01dff358239eec37046951f"]
52+
]

styled-ppx.opam.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
depexts: [
22
["@emotion/css"] {npm-version = ">=11.0.0"}
33
]
4+
5+
pin-depends: [
6+
["server-reason-react.0.3.1" "git+https://github.com/ml-in-barcelona/server-reason-react#ea16c107cd41a2e9d01dff358239eec37046951f"]
7+
]

0 commit comments

Comments
 (0)