Git Product home page Git Product logo

Comments (3)

mcnamee avatar mcnamee commented on June 8, 2024

I'm sorry, I'm not sure what you're asking.
Would you mind clarifying what the issue is?

from react-native-starter-kit.

trsh avatar trsh commented on June 8, 2024

@mcnamee so if I do this on WEB side:

import x from '../../../images/cards-white-fill/y.png';
import x1 from '../../../images/cards-white-fill/y1.png';
...
<Media src={x} />
<Media src={x1} />

and then check the source of rendered dom. The links are <img src="/static/media/y-Q.ae974378.png" /> and <img src="data:image/png;base64,iVBORw....[longcode]" />

So there is some mechanism that decides to serve the image as file or a data string. My problem is that I see no configuration to have control over this process. That in turn prevents me to build any kind of image pre-loading, that we need for our project.

from react-native-starter-kit.

mcnamee avatar mcnamee commented on June 8, 2024

Gotcha. No this project doesn't implement any specific configuration on top of Create React App. However you could find out more by looking at https://github.com/facebook/create-react-app to see if the tool can do what you need

from react-native-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.