Coder Social home page Coder Social logo

awesome-rescript's Introduction

Awesome ReScript Awesome

A collection of awesome things about the ReScript programming language and toolchain. Inspired by the awesome list thing. Contributions are always welcome.

NOTE: This repository is mainly for ReScript materials where the source code is ReScript (.res and .resi files). For materials written in ReasonML, please use the awesome-reasonml repository.

ReScript

Official Resources

Community

Blogposts

A lot of posts can be found via the #rescript tag on dev.to. So please check first, if a post is also there to keep this list small. Roughly sorted from newest to oldest. But some posts have no date, get updated sometimes or are collection links.

Tutorials

Talks, Videos, Livestreams

Libraries and Bindings

ReScript Package Index To discover libraries and bindings for ReScript, please use the official package index tool. Libraries with the rescript keyword in their package.json will appear there, as well as manually added resources. If you happen to find no bindings for a library, please ask for it on the forum. Chances are that somebody already wrote them, but kept them private, because maintaining a full set of bindings is always harder than tweaking them to one's specific needs.

Editor Support

(also refer to the official site)

General ReScript language support

Other extensions

Snippets in VSCode

The official snippets included with the ReScript-VSCode extension are available here. You don't need to do anything to activate them; the extension already installs them.

But you can also add your snippets if you want to. You can add them as user snippets or in a workspace through a rescript.code-snippets file in the .vscode folder in the root of your workspace / project. See an example of some user snippets here. Read more about snippets in VSCode here.

Keybindings in VSCode

If you're coming to ReScript React from other languages, you probably find yourself writing React.string("") quite a lot, but maybe sometimes forgetting to add the React.string call.

Luckily, VSCode has support for adding custom keybindings. If you open your keybindings.json and add the following, you can select any piece of code and press cmd+k followed by s to add the React.string call around the selection:

{
  {
    "key": "cmd+k s",
    "command": "editor.action.insertSnippet",
    "when": "editorTextFocus",
    "args": {
      "snippet": "{React.string(\"$TM_SELECTED_TEXT\")}"
    }
  }
  ...rest of your keybindings.json
}

Change the keybinding to your liking. Read more about keybindings in VSCode here.


Example Apps


Contribute

Just fork this repository and add your resources in a pull-request. Please check for duplicates and dead links before you submit.

NOTE: This repository is mainly for ReScript materials where the source code is ReScript (.res and .resi files). For materials written in ReasonML, please use the awesome-reasonml repository.


License

CC0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.