Giter Club home page Giter Club logo

Comments (5)

slorber avatar slorber commented on June 14, 2024

Hi,
Great to see it works fine for you

Honnestly I don't know, I'm not really using this plugin currently and never tried with an image.

But I think Webpack and Metro don't manage requires the same way. With Metro you get {uri: "imageUri.jpg"} while in Webpack you get "imageUri.jpg" directly. You should rather handle resource requires at the edge of your system, and use a Provider to inject the urls/sources of your app, or something. Not sure exactly how images should be managed in a cross platform way

from gatsby-plugin-react-native-web.

Johnnybar avatar Johnnybar commented on June 14, 2024

Ok, thanks for your reply. I'll see if I can resolve this that way

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 14, 2024

@Johnnybar you are using 2.0 alpha? Someone here seems to report it does not work well for him :( #7

from gatsby-plugin-react-native-web.

Johnnybar avatar Johnnybar commented on June 14, 2024

I am, and I did have problems with the react next plugin, but once I removed it, all worked fine for me. Images are also loading fine. Stack Navigator doesn't seem to be functional though

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 14, 2024

I have this PR with a site running on v3 beta6 and there are images, seems to work.

expo/examples#39

from gatsby-plugin-react-native-web.

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.