Giter VIP home page Giter VIP logo

Comments (2)

leaanthony avatar leaanthony commented on June 12, 2024 1

I understand your reasoning for this, but there's a fundamental issue with developing in the browser at all. It was originally intended to allow people to use their favourite browser extensions. Unfortunately, it's also easy to develop against browser APIs that may not exist in the webview implementations leading to apps working fine in Dev mode and not the built binary. If you do a search you will find many such tickets. This has led us to reconsider having a browser Dev mode at all in v3, as you can connect to vite for frontend development anyway. It is confusing to developers why their app works in a browser and not compiled. The focus of development should be on the app as that's what's being released. Unfortunately, I think this proposal would create many more such tickets.

from wails.

m0a avatar m0a commented on June 12, 2024 1

Thank you for the detailed explanation. I now understand the potential issues with developing against browser APIs that may not be supported in the webview, and the confusion it can cause when an app works in development mode but not in the compiled binary. Given this insight and the possibility to use Vite for frontend development, I agree that pursuing a browser-only development mode may not be the best approach. I appreciate the time you've taken to address my concerns, and I will close this issue now. Looking forward to more improvements in Wails and will continue to support the project.

from wails.

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.