Giter Club home page Giter Club logo

Comments (5)

slorber avatar slorber commented on June 1, 2024 1

thanks, I'll take a look at it probably this weekend or next week

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 1, 2024

Hi,

That's unfortunate, I'll have to check that.

Is material bread the repo you are trying to upgrade to v3.1?
Do you have a PR / branch to check?

The config has changed a lot with v3 as we are using the expo webpack config, which does much more than previous version.

from gatsby-plugin-react-native-web.

codypearce avatar codypearce commented on June 1, 2024

I did some debugging and found disabling gatsby-plugin-offline allows it to work again. I tried to reproduce this behavior in an example repo but couldn't. Sorry, wish I could provide more info but the project is closed source at the moment.

I also found this issue: gatsbyjs/gatsby#10050, which describes the same problem with babel-preset-expo and babel-plugin-react-native-web.

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 1, 2024

Thanks

Maybe it's related to service workers or something? Can you try with gatsby-plugin-offline but in a private browsing session?

Also, can you try to add this plugin first in the gatsby plugins list? (order may matter, but I don't think it's related here)

from gatsby-plugin-react-native-web.

codypearce avatar codypearce commented on June 1, 2024

@slorber I was able to reproduce the problem in a stripped down example repo. https://github.com/codypearce/rnw-gatsbyjs-problem

You should be able to see the problem when building the static site and serving it:

npm i
npm run build
npm run serve

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.