Skip to content

Conversation

@davesnx
Copy link
Contributor

@davesnx davesnx commented Jan 13, 2026

Rendering React components on the server natively

CHANGES:

CHANGES:

* Use OCaml 5.4.0 by @davesnx in ml-in-barcelona/server-reason-react#335
* Use latest ppxlib by @davesnx in ml-in-barcelona/server-reason-react#334
* Update to latest quickjs by @davesnx
* Update dependency and usage by @davesnx in ml-in-barcelona/server-reason-react#333
* Add filter to esbuild plugin to scope entrypoint by @pedrobslisboa in ml-in-barcelona/server-reason-react#330
* Add back and forward navigation to nested router by @pedrobslisboa in ml-in-barcelona/server-reason-react#329
* Implement memo and memoCustomCompareProps by @davesnx
* Move Date, BigInt and modularise Js by @davesnx in ml-in-barcelona/server-reason-react#327
* Create complex navigation at RSC demo by @pedrobslisboa in ml-in-barcelona/server-reason-react#307
@avsm
Copy link
Member

avsm commented Jan 15, 2026

Thanks! Still one lurking ppx failure; is this relevant to this PR?

=== install 6 packages
  - install gen                 1.1    [required by sedlex]
  - install ppx_deriving        6.1.1  [required by styled-ppx]
  - install ppx_deriving_yojson 3.10.0 [required by styled-ppx]
  - install sedlex              3.4    [required by styled-ppx]
  - install seq                 base   [required by gen]
  - install styled-ppx          0.56.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gen.1.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_deriving_yojson.3.10.0  (cached)
-> retrieved sedlex.3.4  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved styled-ppx.0.56.0  (cached)
-> installed gen.1.1
-> installed ppx_deriving.6.1.1
-> installed sedlex.3.4
-> installed ppx_deriving_yojson.3.10.0
[ERROR] The compilation of styled-ppx.0.56.0 failed at "dune build -p styled-ppx -j 255 @install".

#=== ERROR while compiling styled-ppx.0.56.0 ==================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/styled-ppx.0.56.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p styled-ppx -j 255 @install
# exit-code            1
# env-file             ~/.opam/log/styled-ppx-7-06ccba.env
# output-file          ~/.opam/log/styled-ppx-7-06ccba.out
### output ###
# (cd _build/.sandbox/a3c7439bd758fc0a513b33b2ab02924c/default && /home/opam/.opam/5.4/bin/menhir --explain --unused-tokens packages/parser/lib/css_parser.mly --base packages/parser/lib/css_parser --infer-read-reply packages/parser/lib/css_parser__mock.mli.inferred)
# Warning: 79 states have shift/reduce conflicts.
# Warning: 16 states have reduce/reduce conflicts.
# Warning: 93 shift/reduce conflicts were arbitrarily resolved.
# Warning: 44 reduce/reduce conflicts were arbitrarily resolved.
# File "packages/parser/lib/css_parser.mly", line 238, characters 4-21:
# Warning: production media_query_prelude -> INTERPOLATION is never reduced.
# Warning: in total, 1 production is never reduced.
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -w -9 -g -bin-annot -bin-annot-occurrences -I packages/ppx/src/.styled_ppx.objs/byte -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/sedlex -I /home/opam/.opam/5.4/lib/yojson -I packages/parser/lib/.styled_ppx_css_parser.objs/byte -I packages/reason-css-parser/lib/.reason_css_parser.objs/byte -I packages/string_interpolation/src/.string_interpolation.objs/byte -no-alias-deps -open Styled_ppx__ -o packages/ppx/src/.styled_ppx.objs/byte/styled_ppx__Generate_lib.cmo -c -impl packages/ppx/src/generate_lib.re.pp.ml)
# File "packages/ppx/src/generate_lib.re", line 927, characters 4-12:
# 927 |   | Pexp_fun(arg, default, pattern, expression)
#           ^^^^^^^^
# Error: This variant pattern is expected to have type Ppxlib.expression_desc
#        There is no constructor Pexp_fun within type Ppxlib.expression_desc
# Hint:             Did you mean Pexp_for?



@davesnx
Copy link
Contributor Author

davesnx commented Jan 15, 2026

That's styled-ppx, let me push a new version (davesnx/styled-ppx#569) and add constraints

…x/opam-repository into release-server-reason-react-0.4.1

* 'release-server-reason-react-0.4.1' of github.com:davesnx/opam-repository: (100 commits)
  [new release] server-reason-react (0.4.1)
  add a conflict between mirage-runtime and lwt 6.0.0
  [new release] miou (0.5.1)
  [new release] art (0.3.0)
  Update packages/ffmpeg-avutil/ffmpeg-avutil.1.2.8/opam
  14 packages from savonet/ocaml-posix at 4.0.1
  Package rfsm.2.3
  [new release] trace (4 packages) (0.10.1)
  Bump dune to 3.20
  Bump dune version to 3.2
  Fit release 1.4.1
  [new release] quickjs (0.4.2)
  Release of expr 0.7.0
  qdrant: opam 2.1+만 지원
  10 packages from ocurrent/ocurrent at 0.7.3
  lwt: fix ocamlfind version constraint
  fix dep to ocamlfind (with-dev-setup rather than dev)
  Add intel_hex.0.1
  Add qdrant.0.1.0 - Pure OCaml client for Qdrant vector database
  camlp4.5.4 requires OCaml >= 5.4.1 on macOS and Windows
  ...
@davesnx
Copy link
Contributor Author

davesnx commented Jan 16, 2026

Added constraints 2bde7a9 for current styled-ppx's version

@avsm avsm merged commit 92679ed into ocaml:master Jan 16, 2026
3 of 4 checks passed
@avsm
Copy link
Member

avsm commented Jan 16, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants