Learn ReactJS & React Native With Me
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Facebook
  • Twitter
  • LinkedIn
  • Email
Learn ReactJS & React Native With Me

Code, Bugs, Pitfalls, Tricks of React Js & React Native

  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact

net::ERR_HTTP2_PROTOCOL_ERROR – Code Example

  • Akash Mittal
  • August 30, 2022
Today we will the cause and solution of net::ERR_HTTP2_PROTOCOL_ERROR. This is a http/2 error and could be caused by number of reasons like – Wrong headers Empty headers Wrong content…
View Post

How to get slug from url in wordpress? – Code Example

  • Akash Mittal
  • August 30, 2022
There are multiple ways to get slug from url in wordpress. In this article we will show you the code examples of some of these most useful ways. Code Example…
View Post
web scraping of static and dynamic websites using reactjs nodejs and nightmarejs
  • JavaScript
  • React Js

    Web Scraping dynamic & static websites in Nodejs and Reactjs

    • Teresia Wachira
    • September 5, 2022
    Introduction Web scraping is a technique used for extracting data from websites. And a piece of code or software that helps you to scrape data is known as a scraper.…
    View Post

    How to create navbar in Chakra-ui? – Code Example

    • Akash Mittal
    • August 30, 2022
    In this article I will share the code to create navbar in chakra-ui. We will use React Js for this. You may use any framework of your choice. Primary components…
    View Post

    How to customize chakra-ui theme in gatsby project? – Code Example

    • Akash Mittal
    • August 30, 2022
    To customize chakra-ui theme in gatsby project you will need to shadow gatsby-plugin/theme.js file with your own theme file by extending it. This is different from what we do in…
    View Post

    How to add chakra-ui in gatsby project? – Code Example

    • Akash Mittal
    • August 30, 2022
    In this article we will learn how to add chakra-ui to a gatsby project. First you will need to install it using npm or yarn. Then add @chakra-ui/gatsby-plugin to plugins…
    View Post

    How to add chakra-ui in next.js project? – Code Example

    • Akash Mittal
    • August 30, 2022
    In this article I will show you how you can add chakra-ui in your next.js project. First, you will need to install chakra-ui using npm or yarn. Then import ChakraProvider…
    View Post

    How to customize theme of chakra-ui in react project? – Code Example

    • Akash Mittal
    • August 30, 2022
    In this article I will show you how to customize a default theme of chakra-ui in your react project. You need to add theme attribute in ChakraProvider component in App.js.…
    View Post

    How to install Chakra-ui in react project? – Code Example

    • Akash Mittal
    • August 30, 2022
    In this article we will show you how to install Chakra-ui in react projects. You can use the template property of create-react-app to start your project with chakra built in.…
    View Post
    Kyverno - Installation, Policies, Testing, Reporting, Monitoring, Security
    • Kubernetes

      Kyverno – Installation, Policies, Testing, Reporting, Monitoring, Security

      • Akash Mittal
      • August 24, 2022
      In this article we will learn about Kyverno which is a Kubernetes policy engine. It is used to create, test and apply policies. It also provides mechanisms for reporting, monitoring…
      View Post

      Elasticsearch Kibana server is not ready yet – Code Example

      • Akash Mittal
      • September 4, 2022
      There could be number of reasons where you get the error, Kibana server is not ready yet. Some of them includes – Configuration error in Kibana indexes Wrong elastic.hosts settings.…
      View Post

      How to copy slice in Golang? – Code Example

      • Akash Mittal
      • September 5, 2022
      In order to copy a slice in Golang, you can use copy(dst, src) function. This function works on the minimum length of dst and src. So, if you want to…
      View Post

      Remove last character from string in Golang – Code Example

      • Akash Mittal
      • August 30, 2022
      You can get a range of characters within a string in Golang using [:]. It takes the start and end index and return the substring. To remove last character, you…
      View Post

      Golang run test cases of few files not whole project – Code Example

      • Akash Mittal
      • August 30, 2022
      To run test cases in golang for the whole project, you can use go test <package_name>. But if you want to run test cases of few files, you will need…
      View Post

      Error: While trying to resolve module idb none of these files exist

      • Akash Mittal
      • August 22, 2022
      If expo or react-native-cli is not able to find a file extension it will throw the error while trying to resolve module none of these files exist. To resolve this…
      View Post

      ViewPropTypes has been removed from React Native – Code Example

      • Akash Mittal
      • August 30, 2022
      ViewPropTypes is removed from React Native. If you try to use it, then React Native will throw ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes…
      View Post

      TypeError: cli.init is not a function – Code Example

      • Akash Mittal
      • August 30, 2022
      From V0.69, React-Native stopped supporting global installation of react-native-cli. If you try to run npx react-native init MyProject command, it will throw TypeError: cli.init is not a function error. To…
      View Post

      Allocate heap memory to JavaScript in Next.js, Reactjs – Code Example

      • Akash Mittal
      • August 30, 2022
      You may allocate heap memory to JavaScript in any node framework like NextJs or ReactJs from package.json. Generally you never encounter heap error but if you are getting one then…
      View Post

      Component not re-rendering on array state change – Code Example

      • Akash Mittal
      • September 5, 2022
      Array is referenced through it’s memory location. This location doesn’t change when there is some update over array. A react state takes this location. But since the location doesn’t change…
      View Post

      Set & Clear Timeout in React Component on (un)mount – Code Example

      • Akash Mittal
      • August 30, 2022
      To set and clear timeout in React component, you can use useEffect() hook with empty array as second parameter. You can clear a timeout from the return function because a…
      View Post

      Posts navigation

      Previous 1 … 9 10 11 … 30 Next

      Learn ReactJS & React Native With Me
      Copyright AkashMittal.com | Privacy Policy