Skip to content
Browse files

first draft history

  • Loading branch information...
rickyvetter committed Apr 8, 2019
1 parent f2b6fcd commit d95b76488b2c25d20de51e6643694b664e6c18cc
Showing with 22 additions and 0 deletions.
  1. +22 −0
@@ -1,3 +1,25 @@
# 0.7.0

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

You can now write components like

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.

# 0.6.0

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

0 comments on commit d95b764

Please sign in to comment.
You can’t perform that action at this time.