rescript-lang / rescript-lang/rescript-lang.org

Provide Code-Sandbox templates for more complete playground environments

Open
#571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
1.9k
Forks
260
Avg merge
3d 9h
Merged PRs (30d)
17

Description

The playground is quite limited with its runtime capabilities, due to some complexities.

Here are a few details what the playground should be:

  • A tool to quickly show-case the JS output for a ReScript program
  • A quick way to try out new compiler features
  • A way to report certain bugs for specific compiler releases
  • (future) An exploratory tool for showing the AST?

Runtime wise, it would be best-case if we are able to console log stuff, but we don't really want to be able to render whole React programs.

To help users to try out ReScript in a more desktop like experience, we should find a way to provide a Code Sandbox template (maybe as a link on the playground page?), so that users can actually build whole ReScript apps in the browser.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the existing playground and the proposed CodeSandbox integration; done means a linked template lets users build complete ReScript apps in the browser while preserving the playground's stated runtime limits.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.