Tutorials by Daniyal Hamid

Daniyal currently works as the Head of Engineering in Germany and has 20+ years of experience in software engineering, design and marketing.

  1. How to Print on the Same Line in Python?

    Using Python's print() method prints to a new line by default. Learn how you change that to easily print on the same line.
  2. What Is Shallow Comparison in JavaScript?

    Explore the concept of shallow comparison in JavaScript and learn how it differs from deep comparison. Knowing this will help you understand how shallow comparison affects object and array comparisons.
  3. How to Use a Map With React useState() Hook?

    Find out how to use the useState() hook with a JavaScript Map in React. Learn how to initialize, add/remove items, and render Map contents.
  4. How to Use a Set With React useState() Hook?

    Find out how to use the useState() hook with a JavaScript Set in React. Learn how to initialize, add/remove items, rendering Set contents, and the importance of immutability.
  5. How to Disable ESLint Rules for a Folder?

    Learn how to effectively disable ESLint rules for a specific folder in your project. Knowing this will help you customize ESLint configurations to match your specific needs.
  6. How to Fix Issues With CSS Position Sticky Not Working?

    CSS position: sticky might not work for you for a number of reasons. It can be quite frustrating to implement it if you don't understand the caveats around using it. In this article, you will find some common problems associated with it and ways to resolve them.
  7. How to Fix "Property '...' does not exist on type 'EventTarget'" TypeScript Error?

    If you're confused about the TypeScript error "Property '...' does not exist on type 'EventTarget'", then check out our article to find out why this happens and how you can fix it.
  8. How to Fix "Property 'controls' does not exist on type 'EventTarget'" TypeScript Error?

    Find out why the TypeScript error "Property 'controls' does not exist on type 'EventTarget'" happens, and how you can resolve the issue and ensure proper recognition of element-specific properties.
  9. How to Change/Update "args" in Storybook?

    Find out how you can update a component's "args" based on an action in Storybook. Knowing this will help you add control the state of your component while interacting with it in Storybook UI.
  10. How to Fix "Cannot assign to current because it is a read-only property" useRef() TypeScript Error?

    Find out why the TypeScript error "Cannot assign to current because it is a read-only property" happens and how to resolve it when using the useRef() React hook.
  11. Is it Better to Use HTTP 410 or 404 For SEO?

    Discover the differences between HTTP status codes 404 Not Found and 410 Gone in web management. Knowing this would help you understand which one to use for your use case and its SEO implications.
  12. How to Fix the "Property toGMTString does not exist on type Date" TypeScript Error?

    Learn about the reason why the TypeScript error "Property toGMTString does not exist on type Date" happens and what you can do to resolve it.