Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reason-react

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reason-react - npm Package Versions

1345

0.8.0

Diff

Changelog

Source

0.8.0 (04/2020)

v0.8.0 is a huge release that includes several breaking changes, maintenance fixes and documentation updates :tada:

Thanks to all of our contributors for making this happen!

Maintenance:

  • Moves bs-platform to peerDependencies
  • Moves react, react-dom to peerDependencies @sync in #361
  • Removes compilation warnings @bloodyowl in #539

Breaking Changes:

Documentation:

rickyvetter
published 0.8.0-dev.4 •

rickyvetter
published 0.8.0-dev.3 •

rickyvetter
published 0.8.0-dev.2 •

rickyvetter
published 0.8.0-dev.1 •

rickyvetter
published 0.7.1 •

Changelog

Source

0.7.1

Small release with a couple additional bindings to existing React APIs.

New APIs:

  • React.cloneElement
  • React.Children
  • useEffect, useLayoutEffect, useMemo, useCallback, useImperativeHandle now are all consistently implemented up to useX7 to improve usability.
  • ReasonReactRouter.urlNotEqual

Also removes .cm* generated files from the release to clean up the build process.

rickyvetter
published 0.7.0 •

Changelog

Source

0.7.0

Support for React Hooks API. Allows for writing function components with state and complex interactions.

You can now write components like

[@react.component]
let make = (~className, ~text) => <div className> {text} </div>;

which will compile to a 0-cost React component that looks like

let make = ({className, text}) => <div className> {text} </div>;

These components use a new PPX shipped with BuckleScript 5.0.0+. Please read the documentation for more.

There is no breaking change here, but if you're interested in migrating some components the upgrade script is provided. It will wrap existing ReasonReact components as if they are Hooks components.

rickyvetter
published 0.7.0-alpha.0 •

chenglou
published 0.6.0 •

Changelog

Source

0.6.0

Mini release before a surprise release next time (shhhhh) =).

Breaking

  • The DOM prop crossorigin is now correctly named crossOrigin. This is a tiny breaking change, thus the version bump (#290).

Improvements

  • Fix issue with react-hot-loader (#298).
  • ReasonReact.Router.replace to replace state.
chenglou
published 0.5.3 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc