Releases: wKovacs64/react-native-responsive-image-view
Releases · wKovacs64/react-native-responsive-image-view
v3.0.0
Major Changes
-
#239
0490d52Thanks @wKovacs64! - Update major dev dependencies (react-native 0.78 and React 19) and refactor some internals.BREAKING CHANGES
Component Import
-
The
ResponsiveImageViewcomponent is now a named export instead of the default export. Migrate easily:-import ResponsiveImageView from 'react-native-responsive-image-view'; +import { ResponsiveImageView } from 'react-native-responsive-image-view';
TypeScript
ResponsiveImageViewPropsis now a type rather than an interface (should only impact you if you were extending it)
Features and Fixes
- You shouldn't have to memoize the
onLoadandonErrorcallbacks anymore if you were doing so previously ResponsiveImageViewreturn type changed fromReact.ReactElement<ResponsiveImageViewProps> | nulltoReact.JSX.Element | nullwhich is more accurate- New
UseResponsiveImageViewOptionstype for hook options
-
v2.2.0
Minor Changes
- #190
9d00c38Thanks @wKovacs64! - Convert project to TypeScript. Removes theprop-typespeer dependency.
v2.1.0
v2.0.1
v2.0.0
2.0.0 (2019-03-14)
Features
BREAKING CHANGES
react-native@0.59.0andreact@16.8.3are the new minimum versions required.
Other than that, there are no migration steps necessary - your existing code will continue to work!
See https://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059 for RN 0.59
release details. If you are unable to upgrade, you should continue using the latest 1.x release of
this library.