NashTech-Labs / ScalaJs_Weather_Report

Weather Information System- Get the mood of your city on one click using Scala.js.
40 stars 12 forks source link

Web Components? #1

Open ryantheleach opened 8 years ago

ryantheleach commented 8 years ago

If you want to take this one step further, I'd love to see this using some sort of WebComponents.

I havn't seen it done yet, but believe that a 100% scala webcomponent driven site, would allow you to pre-seed UI widgets / gadgets and send everything as one page, rather then having a variety of html includes and json fetches on first page load.

After that, things can turn asynchronous and only load what new components that they need.

ayushmishra2005 commented 8 years ago

Hi @ryantheleach ,

If you get a chance, you can also do changes and send PR. I will merge it.

ryantheleach commented 8 years ago

I could try, but I'm afraid I don't know Scala well enough.