Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Feb 05:56
· 120 commits to main since this release
8a72082

Major Changes

  • #239 0490d52 Thanks @wKovacs64! - Update major dev dependencies (react-native 0.78 and React 19) and refactor some internals.

    BREAKING CHANGES

    Component Import

    • The ResponsiveImageView component 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

    • ResponsiveImageViewProps is 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 onLoad and onError callbacks anymore if you were doing so previously
    • ResponsiveImageView return type changed from React.ReactElement<ResponsiveImageViewProps> | null to React.JSX.Element | null which is more accurate
    • New UseResponsiveImageViewOptions type for hook options