Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useLocalImages as it bloats the lib #220

Open
pederjohnsen opened this issue Jan 10, 2022 · 1 comment
Open

Remove useLocalImages as it bloats the lib #220

pederjohnsen opened this issue Jan 10, 2022 · 1 comment
Assignees

Comments

@pederjohnsen
Copy link
Member

This was removed previously but due to some bug in React Native/fresco it was added back in: #77

We could consider using <FastImage /> instead of <Image /> if bug is still present 🤔

@pederjohnsen pederjohnsen self-assigned this Jan 10, 2022
@pederjohnsen pederjohnsen added the future Things to be done further down the line label Jun 20, 2023
@pederjohnsen pederjohnsen changed the title Remove useLocaleImages as it bloats the lib Remove useLocalImages as it bloats the lib Nov 15, 2024
@pederjohnsen
Copy link
Member Author

This can now be done as Fresco snd React Native have been updated:
facebook/react-native#45078 (comment)

Alrighty, last update for a little while (at least until this gets packaged up into the next release):

You can follow along with the release status of this change by checking out the tags associated with 6202319 (right now there are none). When you pick up the change in a new release, it should be as simple as using it like this:

<Image 
  source={require('./assets/my-large-image.png')} 
  resizeMethod="none" 
/>

@pederjohnsen pederjohnsen removed the future Things to be done further down the line label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant