Skip to content
the poor coder

Home / Author

Poor Man

2,994 posts
2023

react useeffect async

Understanding React useEffect with Async Operations React useEffect is a hook that allows us to perform side effects in functional components. It is similar to componentDidMount, componentDidUpdate, and…

javascript2 min read
2023

setup node.js app cpanel missing

How to Fix a Missing Node.js App Setup in cPanel If you have encountered the problem of a missing Node.js app setup in cPanel, you are not alone. This issue can be frustrating and confusing, especially if you are not…

javascript2 min read
2023

for on mapping in solidity

Introduction to Mapping in Solidity In Solidity, mapping is a reference type that is used to create key-value pairs. It is similar to a hash table or dictionary in other programming languages. Mappings are used to store…

javascript3 min read
2023

react native mirror text

How to Mirror Text in React Native If you want to flip/mirror your text horizontally or vertically in React Native, you can use the transform property in the StyleSheet component. Here are the steps to do it: Horizontal…

javascript2 min read
2023

node js knex sqlite query

Node.js Knex SQLite Query If you're working with Node.js and SQLite, you may have heard of Knex. Knex is a SQL query builder that supports multiple database backends, including SQLite. Here's an overview of how to use…

javascript1 min read
2023

javascript multidimensional array foreach

Understanding Multidimensional Arrays in JavaScript As a developer, you might have come across the term 'multidimensional array' in JavaScript. In simple terms, a multidimensional array is an array that contains other…

javascript1 min read
2023

react native button

React Native Button React Native Button is a component that allows users to interact with the application by pressing it. Buttons can be customized with different colors, shapes, and sizes to fit the design of the…

javascript2 min read
2023

Js split method

Js Split Method The JavaScript split() method is used to split a string into an array of substrings based on a separator character. The separator can be a space, a comma, or any other character that you want to use to…

javascript1 min read
2023

what is redux

What is Redux? Redux is a state management library for JavaScript applications. It allows you to manage the state of your application in a predictable and efficient way. How does Redux work? Redux works by using a…

javascript2 min read
2023

resubmission on refresh

Resubmission on Refresh If you have ever come across a situation where you hit the refresh button and suddenly a pop-up appears asking "Do you want to resubmit the form?" then you might have wondered why this happens…

javascript2 min read
2023

identify chrome on android using javascript

How to Identify Chrome on Android using JavaScript? If you are a web developer, you might want to know which browser your website is being viewed on. In this case, you can use JavaScript to identify the browser…

javascript1 min read
2023

strings rearrangement javascript

Strings Rearrangement in JavaScript String rearrangement is a common problem in computer programming where a string needs to be rearranged to form a new string that satisfies certain conditions. In JavaScript, there are…

javascript2 min read
2023

react -datatable

React Datatable If you are looking for a way to display tabular data in your React application, then you might want to consider using a React Datatable. A React Datatable is a powerful and customizable component that…

javascript2 min read
2023

request data in express

Request Data in Express If you want to extract data from a request in Express, you can do so by accessing the req.body property. To use this property, you need to install and use the body-parser middleware. Installing…

javascript1 min read
2023

patch if else use

Patch if else use As a web developer, you have probably used if else statements in your code. If you need to make changes to your if else statements, you can use a patch to modify them without completely rewriting your…

javascript2 min read
2023

get h1 text javascript

How to Get H1 Text Using JavaScript Getting the text of an H1 element using JavaScript can be quite easy. Here are two methods: Method 1: Using the innerHTML Property This code creates a variable called h1Text and sets…

javascript2 min read
2023

blur method js

What is the Blur Method in JavaScript? JavaScript provides various methods to manipulate an image or an element on a webpage. One such method is the "Blur" method which helps to blur an image or an element. How to use…

javascript1 min read
2023

get last string after / in javascript

Get last string after / in JavaScript If you are working with JavaScript, you may need to extract the last string after a forward slash from a URL or any other string. There are multiple ways to achieve this task in…

javascript2 min read
2023

How to delete an html element

How to Delete an HTML Element Deleting an HTML element can be necessary for various reasons such as updating the design, improving accessibility, or removing outdated information. There are several ways to delete an…

javascript2 min read
ESC