@rescript/react
Advanced tools
+10
-1
| # Changelog | ||
| ## master | ||
| ## 0.11.0-rc.1 | ||
| - Added React 18 bindings. | ||
| - Added binding for `React.isValidElement`. | ||
| - Added backgroundFilter prop in `ReactDOMStyle`. | ||
| - Relaxed React version requirement to v18.0.0+. | ||
| - `ReactDOM.domProps` is now an alias for `JsxDOM.domProps` (defined in the compiler repo) | ||
| - Deprecated types `ReactDOM.props`, `ReactDOM.Props.props`, `ReactDOM.Props.domProps`. | ||
| - Deprecated `ReactDOM.stringToComponent`. | ||
| ## 0.11.0-alpha.1 | ||
@@ -21,2 +29,3 @@ | ||
| - New version requirements: | ||
| - ReScript compiler V10.1+ | ||
@@ -23,0 +32,0 @@ - ReactJS v18.2.0+ |
+3
-3
| { | ||
| "name": "@rescript/react", | ||
| "version": "0.11.0-alpha.1", | ||
| "version": "0.11.0-rc.1", | ||
| "description": "React bindings for ReScript", | ||
@@ -36,5 +36,5 @@ "files": [ | ||
| "peerDependencies": { | ||
| "react": ">=18.2.0", | ||
| "react-dom": ">=18.2.0" | ||
| "react": ">=18.0.0", | ||
| "react-dom": ">=18.0.0" | ||
| } | ||
| } |
+4
-10
@@ -1,2 +0,2 @@ | ||
| ## rescript-react | ||
| ## @rescript/react | ||
@@ -7,8 +7,2 @@ > The Official ReScript Bindings for ReactJS | ||
| ### 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 [CHANGELOG.md](./CHANGELOG.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](https://forum.rescript-lang.org/t/rfc-rescript-react/901) for more infos. | ||
| ### Installation | ||
@@ -20,3 +14,3 @@ | ||
| The ReScript compiler V10.1+ is required. | ||
| The ReScript compiler v10.1+ is required. | ||
@@ -49,3 +43,3 @@ ``` | ||
| - ReScript Compiler v10.1+ | ||
| - ReactJS v18.2.0+ | ||
| - ReactJS v18.0.0+ | ||
@@ -63,3 +57,3 @@ - v0.10.3 | ||
| # Starts the ReScript compiler in watchmode | ||
| # Starts the ReScript compiler in watch mode | ||
| npm start | ||
@@ -66,0 +60,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
-100%217328
-9.34%61
-8.96%