Skip to content

Commit c83ec62

Browse files
committed
Refine react intro
1 parent bfc4e74 commit c83ec62

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pages/docs/react/latest/introduction.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ description: "Introduction to ReScript & ReactJS"
44
canonical: "/docs/react/latest/introduction"
55
---
66

7-
# Introduction
7+
# ReScript & React
88

9-
ReScript offers first class bindings for [ReactJS](https://reactjs.org) and are designed and built by people using ReScript and React in large, mission critical production React codebases. The bindings are compatible with modern React versions.
9+
ReScript offers first class bindings for [ReactJS](https://reactjs.org) and are designed and built by people using ReScript and React in large mission critical React codebases. The bindings are compatible with modern React versions (>= v16.8).
1010

1111
The ReScript philosophy is to compile as closely to idiomatic JS code as possible; in case of ReactJS we made no exception, so it's not only easy to transfer all the React knowledge to the ReScript platform, but also straightorward to integrate with existing ReactJS codebases and libraries.
1212

1313
All our documentated examples can be compiled in our [ReScript Playground](/try) as well.
1414

15-
> **This documentation assumes basic knowledge about ReactJS.**
16-
>
17-
> Please note that even though we will cover many basic React concepts, it might still be necessary to have a look at the official [ReactJS](https://reactjs.org) resources, especially if you are a complete beginner with React.
18-
1915
## Feature Overview
2016

21-
- No Babel plugins needed (JSX is part of the language!)
22-
- Bindings for all important React APIs needed to build production ready apps (`useState`, `useReducer`, `useEffect`, `useRef`,...)
23-
- No class based component API legacy (all ReScript & React codebases are built on functional components & hooks)
17+
- No Babel plugins required (JSX is part of the language!)
18+
- Comes with all essential React APIs for building production ready apps (`useState`, `useReducer`, `useEffect`, `useRef`,...)
19+
- No component class API (all ReScript & React codebases are built on functional components & hooks)
2420
- Strong level of type safetiness and type inference for component props and state values
2521
- [GenType](/docs/gentype/latest/introduction) support for importing / exporting React components in Flow and TypeScript codebases
2622

23+
> **This documentation assumes basic knowledge about ReactJS.**
24+
>
25+
> Please note that even though we will cover many basic React concepts, it might still be necessary to have a look at the official [ReactJS](https://reactjs.org) resources, especially if you are a complete beginner with React.
26+
2727
## Development
2828

2929
- In case you are having any issues or if you want to help us out improving our bindings, check out our [rescript-react Github repository](https://github.com/rescript-lang/rescript-react).

0 commit comments

Comments
 (0)