Comments (6)
from nativescript-vue.org.
I agree the wording is a little misleading - there isn't a specific outstanding issue that we need to resolve.
The progress has been logged here: nativescript-vue/nativescript-vue#214.
Both @bundyo and I have spent a lot of time figuring out how to make it work, but we've always came across cases where things would start acting up (In very common scenarios too).
What it boils down to is that web routing doesn't have the idea of a backstack, where previous pages are kept alive (a good analogy would be like having a separate tab open for every page of the backstack, you can go back to any of them and be right back where you left off) - instead it has a history, that basically just stores the "url"'s to the previous routes.
The way native apps work is that you don't replace the current page whenever navigating, but rather push the new page on top of the current one.
What VueRouter does is keep track of the history, and render the active page inside <router-view>
and does not allow customizing when things are rendered, nor how - which makes it difficult to integrate with the NativeScript's navigation system ($navigateTo
, $navigateBack
in case of NativeScript-Vue).
I'm hopeful that we can figure out a better solution for Vue 3, since as far as I'm aware the VueRouter will get a full rewrite soon. (Maybe @posva could confirm this)
from nativescript-vue.org.
https://nativescript-vue.org/en/docs/routing/vue-router/
from nativescript-vue.org.
Great! Thanks for the quick and informative answers, both of you!
from nativescript-vue.org.
That's great @posva, thanks for the feedback! I do think the ability to add a custom history/router-view will eliminate most of the obstacles if not all of them!
from nativescript-vue.org.
Glad to hear it's being working on @posva , nativescript seems like the most mature solution for mobile and vue, but it's hard to argure production ready apps without the great vue router support :D
from nativescript-vue.org.
Related Issues (20)
- Search is broken on the site HOT 3
- Documentation for Frame component has no sidebar entry. HOT 1
- ListPicker Color Divider HOT 3
- License for Documentation HOT 2
- GridLayout height issues on Android 8.0.0 SM-G935F
- vue-devtools installation HOT 3
- Extend routing documentation
- django custom relationship field HOT 1
- Vue docs are missing information on the new Tabs & BottomNavigation components HOT 1
- Unable to load local files in WebView HOT 1
- Transfer the Progress UI Components docs from docs.nativescript.org
- fix japanese document
- Update the Spanish translation
- Incomplete documentation Vue DevTools HOT 4
- Revise Manual Routing docs
- Add notes about lifecycle hooks somewhere more accessible:
- Add Quick Start support for Vue CLI 3 HOT 1
- Following after tutorial of code sharing leads to errors
- HARD TypeError: Cannot read property 'setAttribute' of undefined HOT 3
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 nativescript-vue.org.