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
javascript remove element from ghost array
  • JavaScript

    Javascript remove element from Ghost array

    • Akash Mittal
    • September 5, 2022
    In this article we will learn how to remove element from javascript ghost array. I will also show you the way to remove any element from non-ghost arrays. First of…
    View Post
    jumbled javascript array to string no commas
    • JavaScript

      Convert a jumbled javascript array to string without commas

      • Akash Mittal
      • September 5, 2022
      Are you getting the requirements of converting a javascript array to string without commas? If yes, then this article is for you. Generally when we convert array to string we…
      View Post
      javascript random array element no repeat
      • JavaScript

        Access random array element in javascript without repeating

        • Akash Mittal
        • September 5, 2022
        In this article we will show you the code to access javascript random array element, no repeat. Without further delay, let’s check out the code –     Tweet this to help…
        View Post
        GUI tool to generate react table code for projects
        • React Js
        • React Native

          GUI tool to generate React-Table code for your projects

          • Akash Mittal
          • November 16, 2022
          React-Table is an awesome library for creating tables with multiple headers, sorting, filtering, pagination etc. But it is complex to learn. Sometimes our use case is simple and we do…
          View Post
          facebook messenger chat heads trail animation in react spring
          • React Js
          • React Native

            React Spring – Create Facebook messenger chat heads with trails

            • Akash Mittal
            • September 5, 2022
            (Jump to Code | Demo) Have you seen the chat heads created by facebook messenger? They are stacked over each other and when you drag top one, the other heads…
            View Post
            react component get element by id code example demo
            • React Js

              React component get element by id – Code example & Demo

              • Akash Mittal
              • September 5, 2022
              (Jump to Code | Demo) React component get element by id through reference. Before moving ahead let me inform you that React do not provide any way to access component…
              View Post
              How to dynamically add component in reactjs - Code Demo
              • React Js
              • React Native

                How to dynamically add component in reactjs? Code Example & Demo

                • Akash Mittal
                • September 5, 2022
                (Jump to Code | Demo) One of the most important feature of Reactjs is its modularity. To make code more readable and maintainable, we break it into reusable components. And…
                View Post
                React Wrapper Component - Code example and Demo
                • React Js
                • React Native

                  Wrapper component in React JS – Code Example & Live Demo

                  • Akash Mittal
                  • September 5, 2022
                  (Jump to Code | Demo) First of all, we should know what is React wrapper component? Well, its similar to any ordinary component but we define them for special tasks…
                  View Post
                  How to find the longest string in javascript array?
                  • JavaScript

                    How to find the longest string in javascript array?

                    • Akash Mittal
                    • September 5, 2022
                    To find the longest string in javascript array, we need to loop through all the elements and compare their lengths. The one which has the maximum length is the longest.…
                    View Post
                    How to remove duplicate objects from array in JavaScript?
                    • JavaScript

                      How to remove duplicate objects from array in JavaScript?

                      • Akash Mittal
                      • September 5, 2022
                      (Jump to Code | Demo) In order to find the duplicates, we need to compare two values. In case of numbers and strings, this is very simple. But when it…
                      View Post
                      How to remove duplicate elements from array in JavaScript?
                      • JavaScript

                        How to remove duplicate elements from array in JavaScript?

                        • Akash Mittal
                        • September 5, 2022
                        In this article we are going to create a function to remove duplicate elements from javascript array. Our function will be able to handle strings and numbers inside the provided…
                        View Post
                        How to remove first element from array in javascript
                        • JavaScript

                          How to remove first element from array in JavaScript?

                          • Akash Mittal
                          • September 5, 2022
                          When we remove an element from array, a null or undefined remains in its place. One of the option is to use removeNullUndefinedEmptyFromArray() function to clean the array. But if…
                          View Post
                          How to force component to re-render in reactjs
                          • React Js

                            How to force component to re-render in reactjs?

                            • Akash Mittal
                            • January 2, 2021
                            There are two ways in which we can force component to re-render in React JS. Generally, we require this when there is change in the list but react fails to…
                            View Post
                            remove null, undefine and empty values from array in javascript
                            • JavaScript

                              Remove null, undefined and empty values from array in JavaScript

                              • Akash Mittal
                              • September 5, 2022
                              In this article we are going to learn how to remove null, undefined and empty values from array in Javascript. We get null or undefined values in array when we…
                              View Post
                              can't perform a react state update on an unmounted component
                              • React Js
                              • React Native

                                Can’t perform a react state update on an unmounted component – Code

                                • Akash Mittal
                                • September 5, 2022
                                (Jump to Solution | Code | Demo) There are number of situations when you get the warning, “Can’t perform a react state update on an unmounted component“. One thing is…
                                View Post
                                combine and merge two javascript objects
                                • JavaScript

                                  Combine two javascript objects – Code Example & Live Demo

                                  • Akash Mittal
                                  • September 5, 2022
                                  (Jump to Code | Demo) We can combine and merge two javascript objects using triple dot (…) notation of ES6. This is a very handy feature as it allows to…
                                  View Post
                                  Open file upload dialog using javascript
                                  • JavaScript

                                    Open File Upload Dialog Using JavaScript – Code Example & Live Demo

                                    • Akash Mittal
                                    • September 5, 2022
                                    (Jump to Code | Demo) When we design an application, we get the requirements to upload images, pdfs, videos and all other sorts of files. We do this using html…
                                    View Post
                                    change position of element in array using javascript
                                    • JavaScript

                                      Change position of element in array using JavaScript code example

                                      • Akash Mittal
                                      • December 29, 2020
                                      We can use splice() method to move an element of an array from one position to another in javascript. We will use latest coding principles of JS (ES6). Check the…
                                      View Post
                                      javascript date_format like php
                                      • JavaScript

                                        JavaScript date_format() function – Convert datetime like Php

                                        • Akash Mittal
                                        • September 4, 2022
                                        Php has a date_format() function which can convert the datetime into any custom format. But sadly javascript do not have any such thing. So, we have implemented one for it.…
                                        View Post
                                        convert javascript object to formdata for post request
                                        • JavaScript

                                          Convert Javascript Object into FormData for POST request

                                          • Akash Mittal
                                          • December 19, 2020
                                          There are many ways to send data from html form to backend through POST request. Out of them, the primary way is FormData. This is ideal when you have simple…
                                          View Post

                                          Posts navigation

                                          Previous 1 … 28 29 30 Next

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