A new version of ReasonReact was recently released which pretty much maps 1-1 to vanilla React. It also brings a new API which should be more familiar to people using React with hooks today.
Would be really cool if the preset for ReasonReact was updated with the new version. 馃檪
You can read more about the new API here:
https://reasonml.github.io/reason-react/docs/en/components
Any updates here?
It stills not possible to use the new syntax
https://codesandbox.io/s/3qpjw150ym
yes would be amazing to have... how can we help ?
@sync I started looking at this last night. It seems like we need to build some new artifacts that were custom-tweaked by @jaredly.
https://github.com/codesandbox/codesandbox-client/blob/master/packages/app/src/sandbox/eval/presets/reason/reason-remap.js
https://github.com/codesandbox/codesandbox-client/blob/master/packages/app/src/sandbox/eval/transpilers/reason/worker/index.js
And transpiling references a few out-of-date dependencies that will need a new source:
https://github.com/codesandbox/codesandbox-client/blob/master/packages/app/src/sandbox/eval/transpilers/reason/index.ts#L91
My fork is here...
https://github.com/codesandbox/codesandbox-client/compare/master...eschaefer:feature/reason-update
Hi, is there an update about this? In addition is there any plan on adding syntax highlight at .re files?
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
This issue has been automatically closed because there wasn't any activity after the previous notice or the stale label wasn't removed.
Most helpful comment
yes would be amazing to have... how can we help ?