Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

RescriptRelay with ReScript Core

$
0
0

The main problem here is unfortunately that 3.0.0 hasn’t been released yet, so the install instructions haven’t been updated to match that version (it’s for 2.0.0 now). Hoping to get it released very soon!

Here’s a patch that fixes that repo:

diff --git a/package.json b/package.json
index 732d138..fef336c 100644
--- a/package.json
+++ b/package.json
@@ -19,11 +19,10 @@
     "@rescript/react": "^0.12.1",
     "react": "^18.2.0",
     "react-dom": "^18.2.0",
-    "react-relay": "15.0.0",
-    "relay-compiler": "^16.2.0",
-    "relay-runtime": "15.0.0",
+    "react-relay": "16.0.0",
+    "relay-runtime": "16.0.0",
     "rescript": "^11.1.0",
-    "rescript-relay": "^2.3.0",
+    "rescript-relay": "^3.0.0-rc.5",
     "watchman": "^1.0.0"
   },
   "devDependencies": {
diff --git a/rescript.json b/rescript.json
index 2862c36..2ae15bd 100644
--- a/rescript.json
+++ b/rescript.json
@@ -13,7 +13,7 @@
     }
   ],
   "uncurried": true,
-  "ppx-flags": ["rescript-relay/ppx"],
+  "ppx-flags": [["rescript-relay/ppx", "-uncurried"]],
   "suffix": ".res.mjs",
   "bs-dependencies": [
     "@rescript/core",


Viewing all articles
Browse latest Browse all 2592

Trending Articles