New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@rescript/react

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rescript/react

React bindings for ReScript

Source
npmnpm
Version
0.10.3
Version published
Maintainers
3
Created
Source

rescript-react

The Official ReScript Bindings for ReactJS

  • Documentation

Transition Plan (reason-react -> rescript-react)

  • Existing users want to upgrade from reason-react@0.9 to rescript-react@0.10 (should be a smooth transition, check out the Changes.md for minor breaking changes)
  • Make sure that all community libraries that are still on reason-react publish a new @rescript/react version as well (for compatibility reasons)
  • We will soon publish our v1.0 changes, with a new react-jsx version and some other cool features! Check out our RFC post for more infos.

Installation

npm install @rescript/react --save

In your bsconfig.json:

{
  "reason": { "react-jsx": 3 },
  "bs-dependencies": ["@rescript/react"]
}

Quick Links:

Requirements

  • bs-platform v8.3+
  • ReactJS v16.8.1+
  • Optimized for ReScript syntax usage

Development

npm install

# Starts the ReScript compiler in watchmode
npm start

Acknowledgements

This project is the next evolution of the original reason-react bindings.

Keywords

rescript

FAQs

Package last updated on 05 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts