Bump to react 16.
I was able to successfully install and use it in my own respository by manually pushing the dist directory (since I was installing this package from my fork's git URL, the prepublish script doesn't ever get run). I've removed the dist folder in the final diff though :)
- Bump to react@16 and react-dom@16
- Bump react/react-dom TS types to ^16
- Fix snapshots to reflect react 16
Looking good @ayc92 but tests not passing. Mind to check it out? I'll gladly merge after that.
@nachoaIvarez I fixed the snapshot tests to reflect the stylis version upgrade. It patches some of the flexbox prefixing to support IE10.
I have some issues with TS definitions when trying to use the library with React 16. I think they could be solved by this PR.
@nachoaIvarez Is there an ETA for merging this? I just updated to React 16 and this is now happening which I think is solved by this PR.
(3636,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.```
Forked, merged and published as @g07cha/flexbox-react if anyone needs it.
@G07cha thanks, hope this PR will get merged soon. Till then i will use your version. :)
I could really use this update
@nachoaIvarez are you ok to merge this?