Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
71c2897
refactor: switch to React Router
jderochervlk Sep 28, 2025
3d46e64
refactor: add order and section to language manual frontmatter
jderochervlk Sep 28, 2025
365d522
Merge branch 'vlk/add-order-and-section-to-manual' of github.com:resc…
jderochervlk Sep 28, 2025
24c9fdc
add react
jderochervlk Sep 28, 2025
bce0ea1
Merge branch 'vlk/add-order-and-section-to-manual' of github.com:resc…
jderochervlk Sep 28, 2025
b3e42b7
improve css loading speed
jderochervlk Sep 28, 2025
62a4916
fix fouc
jderochervlk Sep 28, 2025
2a54652
fix css not loading
jderochervlk Sep 28, 2025
100fb4c
make sure progress is synced
jderochervlk Oct 1, 2025
3b5acdb
language manual
jderochervlk Oct 2, 2025
1217a60
working on tables
jderochervlk Oct 2, 2025
4d28ff6
back out table changes for now
jderochervlk Oct 2, 2025
a39d058
updating blog pages
jderochervlk Oct 3, 2025
06987bb
builds are working
jderochervlk Oct 3, 2025
5282ad2
copy to out folder
jderochervlk Oct 3, 2025
50c193e
add static server
jderochervlk Oct 3, 2025
b0c3673
cleanup some deps
jderochervlk Oct 5, 2025
d167bf2
cleanup some todo comments
jderochervlk Oct 5, 2025
f571352
configure loadmdx
jderochervlk Oct 5, 2025
8c812c6
tables looking good
jderochervlk Oct 5, 2025
96d9032
more mdx work
jderochervlk Oct 5, 2025
4732229
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 5, 2025
565e2d2
move react docs
jderochervlk Oct 7, 2025
009596d
react docs and anchor scrolling
jderochervlk Oct 7, 2025
c23be9b
fixed scrolling on full page nav
jderochervlk Oct 7, 2025
5a5904f
api is rendering
jderochervlk Oct 7, 2025
778f521
api prerender is working
jderochervlk Oct 7, 2025
f566bec
working on api table of contents
jderochervlk Oct 8, 2025
f478604
Initial plan
Copilot Oct 12, 2025
34acb8f
Migrate CodeMirror from v5 to v6 - initial implementation
Copilot Oct 12, 2025
1040aa7
Fix warnings and remove CodeMirror v5 dependency
Copilot Oct 12, 2025
cc339b5
Address code review feedback - fix import paths, error handling, and …
Copilot Oct 12, 2025
8311c48
Fix error validation logic - properly validate both line and column b…
Copilot Oct 12, 2025
6a1b928
Clarify error position indexing in comments - rows are 1-based, colum…
Copilot Oct 12, 2025
87c0785
Fix ReferenceError: createEditor is not defined - call function direc…
Copilot Oct 13, 2025
a631fc4
Format JavaScript files with Prettier
Copilot Oct 13, 2025
5ee2f10
Convert createEditor from raw JavaScript to native ReScript with comp…
Copilot Oct 13, 2025
924e84a
apidocs
jderochervlk Oct 13, 2025
1213a43
use more idiomatic rescript bindings
tsnobip Oct 13, 2025
bc74250
api nav is working
jderochervlk Oct 13, 2025
a90d0a8
trying to fix the inline codeblock
jderochervlk Oct 13, 2025
f8185ff
just remove it for now
jderochervlk Oct 13, 2025
23eaffe
fix &
jderochervlk Oct 13, 2025
31058cb
move syntax pages
jderochervlk Oct 13, 2025
6942b6b
working on blog listing page
jderochervlk Oct 14, 2025
0321c41
working on syntax page
jderochervlk Oct 14, 2025
e997c36
blog listing page is mostly working
jderochervlk Oct 15, 2025
a599198
update to rc.2
jderochervlk Oct 17, 2025
eed9347
blog post is rendering
jderochervlk Oct 17, 2025
bd882a6
fix archived blog posts
jderochervlk Oct 19, 2025
58001ca
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 19, 2025
0a505e7
static builds are working
jderochervlk Oct 19, 2025
9fe79d8
rendering community pages
jderochervlk Oct 19, 2025
f8dc09b
getting close
jderochervlk Oct 20, 2025
91f9442
package search
jderochervlk Oct 20, 2025
b07a66c
syntax lookup
jderochervlk Oct 20, 2025
dc0ad5d
remove package-lock
jderochervlk Oct 20, 2025
654f09e
rebuild package lock
jderochervlk Oct 20, 2025
b7ba93f
fix webapi
jderochervlk Oct 20, 2025
9ce7121
fixes
jderochervlk Oct 20, 2025
14f7bd2
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 20, 2025
0fcf8a8
Merge branch 'copilot/migrate-playground-to-cm-v6' of github.com:resc…
jderochervlk Oct 20, 2025
9272d9d
control panel
jderochervlk Oct 20, 2025
7d7bbdf
fix divider
jderochervlk Oct 20, 2025
f676837
more cleanup
jderochervlk Oct 20, 2025
8f15c78
more style fixes
jderochervlk Oct 20, 2025
89112cc
config cleanup
jderochervlk Oct 20, 2025
b1156d8
delete pages folder
jderochervlk Oct 20, 2025
ec22753
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 21, 2025
0b63251
rebuild package lock and remove .nvmrc
jderochervlk Oct 21, 2025
a5bbc50
try fixing missing types
jderochervlk Oct 22, 2025
219742d
add search
jderochervlk Oct 22, 2025
c9f8095
use npm build
jderochervlk Oct 22, 2025
011e271
fix typo
jderochervlk Oct 22, 2025
7a22a0a
fix package lock webapi version
jderochervlk Oct 22, 2025
0b9887a
run formatter
jderochervlk Oct 22, 2025
ba425b2
rollback codemirror
jderochervlk Oct 23, 2025
201a0ea
back to codemirror 5
jderochervlk Oct 23, 2025
3d650b7
Revert "use more idiomatic rescript bindings"
jderochervlk Oct 23, 2025
ad9b581
back to codemirror 5
jderochervlk Oct 23, 2025
a0ce329
Revert "rollback codemirror"
jderochervlk Oct 23, 2025
7dbe3df
playground is working
jderochervlk Oct 23, 2025
45b99f2
fix background color on dropdown
jderochervlk Oct 23, 2025
3015186
warning table
jderochervlk Oct 23, 2025
d5b111b
docson
jderochervlk Oct 23, 2025
1882fa0
fixed markdown
jderochervlk Oct 23, 2025
3852202
import css
jderochervlk Oct 24, 2025
70aeb1c
remove trailing ;
jderochervlk Oct 24, 2025
ce8576d
add back tests
jderochervlk Oct 24, 2025
7dc4b86
fix doc tests
jderochervlk Oct 24, 2025
0304baa
remove href test
jderochervlk Oct 24, 2025
d48b592
test out redirects
jderochervlk Oct 24, 2025
8547f39
formatting
jderochervlk Oct 24, 2025
11a742f
add 404 page
jderochervlk Oct 24, 2025
91d8860
typo in redirects
jderochervlk Oct 24, 2025
3b0bd2d
fix filename
jderochervlk Oct 24, 2025
20a153b
fix prettier ignore
jderochervlk Oct 24, 2025
113e21b
preconnect to css
jderochervlk Oct 24, 2025
ff62b7b
fix flicker
jderochervlk Oct 24, 2025
9f886db
fix community link
jderochervlk Oct 24, 2025
2d42ed9
Fix community links
jderochervlk Oct 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
just remove it for now
  • Loading branch information
jderochervlk committed Oct 13, 2025
commit f8185fff32b33c41b09a42cffd758aa5db9138eb
2 changes: 1 addition & 1 deletion docs/manual/converting-from-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Format the code: `./node_modules/.bin/rescript format src/Main.res`.

We have a type error: "The record field student can't be found". That's fine! **Always ensure your code is syntactically valid first**. Fixing type errors comes later.

## Step 4: Add `external`s, Fix Types
## Step 4: Add externals, Fix Types

The previous type error is caused by `payload`'s record declaration (which supposedly contains the field `student`) not being found. Since we're trying to convert as quickly as possible, let's use our [object](object) feature to avoid needing type declaration ceremonies:

Expand Down