Comments (2)
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.
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)
- Update vite version HOT 1
- Propose Change: Default Module Name to Project Name HOT 3
- Adding Linux Options to main.go kills the frontend. HOT 2
- Build with just production webapp url HOT 2
- Incorrect installation & docs for macOS HOT 5
- Add a way to disable the zoom button on mac
- following the manual, failed to do notarization on mac HOT 3
- when Run build command: wails build, I got a errror no package webkit2gtk-4.0 found
- Hi, I submitted a PR for a security issue and a fix patch, please take a look. HOT 1
- v3: Incorrect 'startURL' with 'FRONTEND_DEVSERVER_URL' present HOT 1
- Can't run it on windows server 2012 r2 datacenter HOT 2
- Improve Error Handling HOT 7
- varly app domain expired HOT 1
- failed to find Vite server URL HOT 3
- Windows Defender false detects even an empty initial project as malware HOT 6
- [v3] Windows, cannot expand option after import runtime.js.
- exec: "npm": executable file not found in $PATH HOT 1
- multi webviews HOT 2
- Hope to support setting transparent background HOT 1
- all request hang up by webview2 , did some one meet this issue before ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wails.