Show HN: A free, lightweight static page to get stock quotes using the IEX API
21–30 of 42 posts
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#22One thing I've taken away from this is vanilla Javascript seems to have come a long way, or I've just never taken the time to fully appreciate all the features For example I didn't even realise JS supported string interpolation https://github.com/toddwschneider/stocks/blob/master/index.h...
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#23One thing I've taken away from this is vanilla Javascript seems to have come a long way, or I've just never taken the time to fully appreciate all the features For example I didn't even realise JS supported string interpolation https://github.com/toddwschneider/stocks/blob/master/index.h...
There’s still a lot of “pain” left in the build processes, transpiling, etc, but they’re less painful than they were half a decade ago. Those are also less specific to issues with the language, and more with how we need to use the language.
While not plain JS, I’d strongly recommend trying Vue if you’re getting back into JS. Is a true pleasure to use on a daily basis, and I never find myself fighting it. It makes writing non static sites with interactivity a breeze, and even when I’m building near static pages, I like how it helps me to organize my code (from a structure standpoint, it isn’t opinionated on this stuff).
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#24Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#25One thing I've taken away from this is vanilla Javascript seems to have come a long way, or I've just never taken the time to fully appreciate all the features For example I didn't even realise JS supported string interpolation https://github.com/toddwschneider/stocks/blob/master/index.h...
Another really awesome new feature which I can't remember if it's in that course or not, is fetch - super simple AJAX API using promises. It's also used in this app: https://github.com/toddwschneider/stocks/blob/master/index.h...
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#26What makes this a "static page"? It's all non-interactive javascript.
Static doesn’t mean no JavaScript or interaction. In fact many SPAs are just static pages served out of S3 and connecting directly to some API server to fetch data. A static page means no processing is done on a web server to serve you the rendered content. This saves you time and money, and ensures scalability for any amount of traffic.
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#27I have now transitioned to my own Google Sheet with the "=GOOGLEFINANCE()" function for getting the stock data. Works pretty well.
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#28One thing I've taken away from this is vanilla Javascript seems to have come a long way, or I've just never taken the time to fully appreciate all the features For example I didn't even realise JS supported string interpolation https://github.com/toddwschneider/stocks/blob/master/index.h...
Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#29Re: Show HN: A free, lightweight static page to get stock quotes using the IEX API
#30But if a website uses JavaScript, how can you say it is static? IMHO, static is only Html+css...