A Custom Code for Finding Pseudo-generated Number
Where the Value of the Key Has Changed.
You may require this kind of key identification in cases where you compare the old and new states, such as previous and new filters, and figure out what exactly changed.[Read More]
And its Possible Uses
Useful Strategy to Perform Different Operations Without Repeated if Else or Switch Statements
Recently I came across a problem where I needed to perform two different sets of operations throughout the application for two types of users. The trouble was:
- I needed to turn on or off an operation based on certain condition, which would only be known once the user was logged in, not at the beginning.
Possible fixes to get rid of this error from reporting
Both on Node & Frontend apps.
console.log (or any variant of it, such as warn, info, debug, error, etc.) that we have placed for debugging throughout the application. Below are the two possible ways to do it:
With the Help of Github Repository and Version Tags
With Fibonacci Example