Category GraphQLPosted on June 16, 2021June 16, 2021GraphQL course querying using GraphQL playground If we open the port http://localhost:9000/ we are going to see the GraphQL playground. Note: last GraphQL chapter was GraphQL course implementing a resolver function…
Category React Testing LibraryPosted on March 23, 2021March 23, 2021React testing library – testing a checkbox This is the first part of an example of how to test a checkbox that is also related with a button in React testing library. …
Category InheritancePosted on September 23, 2020September 23, 2020JS inheritance when we crate object with constructor Hi, if we are creating objects with a constructor, the prototype of this new object will point to a property named prototype of the function object. …
Category ES6Posted on September 3, 2020September 10, 2020ES6 – “this” on Arrow functions Hi, today I'm going to show you how the "this" keyword works in an Arrow function. …
Category DOMPosted on August 18, 2020August 18, 2020Why NodeList is Not Live? Hi, in this post I'm going to explain you why a NodeList is Not Live. …
Category AlgorithmsPosted on August 14, 2020August 14, 2020Compare 2 arrays in Javascript Hi, here is the solution in Javascript for this problem that is commonly asked in interviews. …
Category ES6Posted on June 26, 2020July 8, 2020Javascript Classes in ES6 Hi, in ES6 version there is another way to create classes and is easy way to write classes. …
Category TestingPosted on June 22, 2020July 8, 2020Part 8 Testing React Applications – Testing styling Hi, in our React component called Todo ( <Todo /> ) we have a prop called completed and if you see the Css style is related to that prop. …
Category AlgorithmsPosted on May 14, 2020July 8, 2020JS Algorithm – Chunk array Given an array and chunk size, divide the array into many subarrays where each subarray is of length size. …