Post Format

JS Crypto Script – Real-time Crypto Analytics (Miscellaneous)

react real-time cryptocurrency analytics

This is a very simple React script which allow you to include in your existing project real-time cryptocurrency analytics. Yes, you also can create another project based on it, or just upload distribution files (which are already generated) to your root server folder. No more PHP, MYSQL or other hard things required, all is done!

I also split global header and container, so you can include them dynamically in your page where you want, just add some extra attributes to tags where they have to be included, nothing hard!

Fast Loading

I’ve also implemented Service Workers technology, to make this script loading very fast, it cache all static files such as React, React DOM and App scripts, Bootstrap and custom styles and so on. Once browser has loaded one page, all of these scripts and styles are cached in your Browser cache, and on next time, these files will be processed by your Browser Cache. That’s means this script don’t need anymore to request all these files from server – This makes your site faster.

Lazy Loading

Actually you don’t need all 1000 coins to be displayed but only some TOP of them, that’s why I’ve made lazy loading for cryptocurrencies list. Just scroll to bottom to see more cryptocurrencies analytics! This also makes your site faster.

Multi Currency Support

Convert Price, Volume or Market Capitalization to one of your favorite Currency, by default is USD but you can choose one of these AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HRK, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, ZAR. I use free API for current foreign exchange rates.


Leave a Reply