In this blog we will create a setup to get streaming data from backend and log it in the frontend. The ideal solution today to handle streaming data is through WebSocket. But initialising the WebSocket in the main thread would slow down the website and make it feel laggy since constantly it would be handling the server data that is pushed in through the WebSocket.
One way to do this efficiently is by initialising the WebSocket inside a WebWorker. To be brief, WebWorker does not execute in the main thread instead it will be executed in a separate thread in…
ReactJS has been in the web development industry for a long time now and for people who have been using react for a long time and need some quick overview of what the library has to offer is covered here. This is kind of a reference guide about the important conceps of ReactJS. I am assuming you have some prior knowledge on ReactJS.
The difference between React Components and Pure React Components is that pure react components will give you the same HTML content…
2. Special Numbers
3. How to represent big numbers?
Sign — 1Bit
Exponent — 11Bits
Significand — 52Bits
This representation is called the double precision floating point format for representing numbers
The maximum safe limit of numbers that…