What about the SEO and search engine rendering to custom HTML elements like in Vue.js components? is it okay or affects SEO?
What about the SEO and search engine rendering to custom HTML elements like in Vue.js components? is it okay or affects SEO?
That said, I do like the React model of creating components (and suspect this is why so many people use it when it's unnecessary). I'm looking forward to browsers implementing custom elements so that we can all compinentise this way without the overhead of a large JS framework.
edit: The polyfills are also very viable. I know sometimes people knock polyfills, but they're really just libraries that implement the component model and encapsulation that frameworks generally have to, but they go away over time.
We have multiple internal enterprise applications where both jQuery and Vue.js are available. More often than not, when there's a pull request, even for the simplest UI interaction, it can be refactored to few lines in Vue.js from the jQuery event and DOM mess. We plan to move away from jQuery in a year or so, and no new jQuery plugins are allowed.
Vue.js has also allowed us to iterate much faster on complex UI than it would be possible with jQuery.
For bigger apps, you can add components, and for even bigger - add Vuex. Vue.js (same as React) really is the new jQuery.
I am really interested in this approach but I fear about the SEO and any additional unnecessary complexities like compatibility with old browsers and OSs especially in Android.
It's lighting fast compared FB and does all the same things. Really neet. FB makes my laptop literally over heat.
It just so happens that the extensibility around React led to stuff like redux and react-router that's perfect for SPA's, but at its core it's just a View layer that could live alongside a traditional site.
There's a point, where using jQuery alone just won't cut it.
I guess a rule of thumb here would be: If you're providing a service that requires an account - you probably need something more than jQuery.
This assumes that you are using node.js as your backend though.
1. It drops out if it takes more than 5 seconds to complete its operation and uses whatever is render then.
2. Indexing with HTML happens in near-realtime. Indexing with JS to HTML is delayed by about 1-5 days depending on the popularity of the site.
So if you're serious about it; you ought to heavily include metadata for Google to index during the first run through or place a bare bones HTML copy down.