PinnedNisabmohdSingleton class in JavaThe Singleton is a useful Design Pattern for allowing only one instance of your class. So we know that objects are created from…Jul 30, 2022Jul 30, 2022
PinnedNisabmohdSend messages to specific room id- SocketIOThere are many beginner devs who finds hard to send a message in specific room of a chat application. This blog will surely help you…Jun 24, 2022Jun 24, 2022
NisabmohdImplement your own API fetching & caching mechanism in ReactTo fetch data from an API and display a response in a React application, you need to create a component that handles the API request…Jun 30, 2023Jun 30, 2023
NisabmohduseImperativeHandle hook in ReactCertainly! useImperativeHandle is a hook that allows you to expose a custom interface from a child component to its parent component. It's…Apr 9, 2023Apr 9, 2023
NisabmohdStop writing System.out.println for debugging ❌❌As we know System.out.println method prints output to console. And when the code editor doesn’ have snippets its very hard to write that…Feb 16, 2023Feb 16, 2023
NisabmohdImplementing JWT Auth with NodeJSJWT is a particularly useful technology for API authentication and server-to-server authorization.Dec 22, 2022Dec 22, 2022
NisabmohdSort a map based on its value in javasuppose there is a map with values : {a=5 , z=6 , b=12} and you want to sort based on its values as {b=12 , z=6 , a=5} (descending order)Jul 13, 2022Jul 13, 2022
NisabmohdExecute a Java program from NodeJSIn order to run a java file using NodeJS we can use inbuilt child-process NodeJS module.Jun 29, 2022Jun 29, 2022
NisabmohdHashMap in JavaA HashMap is a class in java which implements Map Interface that gives you a feature to store key-value pair. HashMap uses a hashing…Jun 24, 2022Jun 24, 2022