flexbox-react icon indicating copy to clipboard operation
flexbox-react copied to clipboard

Support for React v16?

Open StevenRasmussen opened this issue 8 years ago • 2 comments

Just wondering if/when you might support v16 of React? Thanks

StevenRasmussen avatar Nov 16 '17 17:11 StevenRasmussen

@SimplerSoftware I created a PR for doing this: https://github.com/nachoaIvarez/flexbox-react/pull/46

Let me know if you have any feedback.

ayc92 avatar Jan 15 '18 21:01 ayc92

I can see this has been dead a while, but a better solution @ayc92 and @nachoaIvarez might be to remove the import of react inside the .d.ts file, and use /// <reference types="react" /> triple-slash directive instead. Let users bring their own react types to the mix, whatever version that may be.

This is a definite show-stopper for anyone using react 16+ with typescript

sampsonjoliver avatar Nov 12 '18 00:11 sampsonjoliver