Giter VIP home page Giter VIP logo

Comments (16)

stevensacks avatar stevensacks commented on June 18, 2024 3

I’ve tried to update the project with new libs but I keep running into issues where errors happen on build after I do. My guess is I’m not understanding some particulars of your webpack build configuration. The new version of Webpack doesn’t require as much configuration so that could be contributing, as well.

For the time being, I’m going to make a new React Native project and worry about the web version later since they have fixed the issues with the latest version of Xcode and hopefully you can find some time to update this lib in the meantime.

Thanks!

from create-react-native-web-app.

stevensacks avatar stevensacks commented on June 18, 2024 1

Hello again! CRA 2 is out! Can we get this working this week?

from create-react-native-web-app.

stevensacks avatar stevensacks commented on June 18, 2024 1

It’s more that I want to use the recent version of React (16.5.x) than React Native 0.57.

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

Hi @stevensacks, thanks a lot for the detailed issue.
I would be happy to but I would wait for create-react-app to upgrade to babel 7 and webpack 4 (they're working on v2) and then i will recreate it from that project.
PRs are welcome :)

from create-react-native-web-app.

stevensacks avatar stevensacks commented on June 18, 2024

I tried updating the libs but when I run the build I get an error

No bundle URL found

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

Hi @stevensacks,
thanks for the update. Unfortunately I can not promise I will finish it this week. I am sorry but I have other work to do at the moment. Not entirely sure when i will be able to do the next release but I will do my best to do it asap.
Many thanks for the interest.

Babel and Webpack aren't the most problematic to update since I didn't see react-native-web working yet with the most updated react-native and reactjs versions so it might take some time..

If you are trying to create a new project and fear that it won't be compatible with the next release don't worry since you could just copy your components and continue once I finished the next release since i don't see many breaking changes.

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

@stevensacks from what i read, it's possible with react 16.5.1 necolas/react-native-web#1096 (comment)
and react-native-web 9 necolas/react-native-web#1096 (comment)

from create-react-native-web-app.

geminiyellow avatar geminiyellow commented on June 18, 2024

πŸ‘ hey @orYoffe , good work day day up.

from create-react-native-web-app.

stevensacks avatar stevensacks commented on June 18, 2024

With Suspense and Hooks coming soon, it seems like now more than ever it's a good time to work through the issues in upgrading this library to the latest (stable) version of React so it's easy to update to the version with Hooks when it's released.

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

@stevensacks I agree and love the new features too, unfortunately the issue is of time currently and not of will, maybe will be able to work on it this month.
but that doesn't promise that the newest version of react will be available since react-native doesn't always update automatically to the newest and the same for react-native-web.

thanks for your patience and I would suggest to try composing the project yourself since you seem motivated. It's a good learning experience and I would love to merge a working PR since I don't have that much time to work on it.

Also the new api from jest of snapshot directory resolver should solve the switchSnapshots.js script I run before each test

from create-react-native-web-app.

geminiyellow avatar geminiyellow commented on June 18, 2024

yep, babel's update is good, but when i upgrade webpack configs, there is not too much diff, but run into error. dont know why.

from create-react-native-web-app.

rpweb avatar rpweb commented on June 18, 2024

@orYoffe thanks for the good work! looking forward for the new version.
are you located in berlin? if yes, we could meet up. would like to contribute

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

handled with the new release #11

from create-react-native-web-app.

geminiyellow avatar geminiyellow commented on June 18, 2024

@orYoffe hi, could you give a migration guild?

from create-react-native-web-app.

stevensacks avatar stevensacks commented on June 18, 2024

Hm. You only updated react version, but not react-native (important to work with XCode 10), and the following major/minor (patch less important):

 react-native             0.55.x  β†’  0.57.x
 @svgr/webpack             2.4.1  β†’   4.1.0
 babel-eslint              9.0.0  β†’  10.0.1
 dotenv                    6.0.0  β†’   6.1.0
 eslint                    5.6.0  β†’   5.9.0
 eslint-plugin-flowtype   2.50.1  β†’   3.2.0
 pnp-webpack-plugin        1.1.0  β†’   1.2.1
 postcss-preset-env        6.0.6  β†’   6.4.0
 webpack                  4.19.1  β†’  4.26.1

from create-react-native-web-app.

orYoffe avatar orYoffe commented on June 18, 2024

@geminiyellow I would suggest to try to take your code and try to copy paste it into a new project and see what breaks :) I hope it works for you

@stevensacks I couldn't upgrade the react-native version as react-native-web supports v0.55 since v0.56 has too big of a difference for them to fix right away
https://github.com/necolas/react-native-web
About Xcode 10 take a look at this thread to solve and support legacy build in Xcode for ios
facebook/react-native#19573

from create-react-native-web-app.

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.