Skip to content
Learn tech systems

Learn tech systems

  • JS Education
  • Youtube
  • Twitter
  • Github
  • Linkedin
  • My resume
  • Search

Category: React

React hooks – useEffect hook explained Part 3
Category JavascriptPosted on April 2, 2020July 8, 2020

React hooks – useEffect hook explained Part 3

How can I add performance to my component when I’m using useEffect hook? Well, we can tell react to skip applying an effect if certain values haven’t changed between …
Read more "React hooks – useEffect hook explained Part 3"
React hooks – useEffect hook explained Part 2
Category JavascriptPosted on April 2, 2020July 8, 2020

React hooks – useEffect hook explained Part 2

2 Effects with cleanup Some effect required cleanup, like set up subscriptions to some external data source, well in this point we need to do a clean up, because w…
Read more "React hooks – useEffect hook explained Part 2"
React hooks – useEffect hook explained Part 1
Category JavascriptPosted on March 31, 2020July 8, 2020

React hooks – useEffect hook explained Part 1

Hi, the React hooks are the new addition in React 16.8 and permit us to use a state and other React features without writing a class.  Note: you can find the cod…
Read more "React hooks – useEffect hook explained Part 1"
React className with ternary operator
Category CssPosted on March 25, 2020July 8, 2020

React className with ternary operator

Hi, here and example of how use a ternary condition to insert a CSS class in a component.  …
Read more "React className with ternary operator"
React todo list
Category ReactPosted on March 24, 2020July 8, 2020

React todo list

Hi, here you go the code to create a todo list in react, I hope this will be very helpful for you. …
Read more "React todo list"
React toggle class
Category CssPosted on March 24, 2020July 8, 2020

React toggle class

Hi, if we want to open, close or show, not show some DOM element we can do this with a react local state, one handle method, a ternary condition and finally the CSS clas…
Read more "React toggle class"
Part 3 Testing React Applications – Enzyme installation
Category ReactPosted on March 23, 2020July 8, 2020

Part 3 Testing React Applications – Enzyme installation

Hi, the next step is install enzyme into our project so we need to run this command in the terminal: npm i --save-dev enzyme enzyme-adapter-react-16 …
Read more "Part 3 Testing React Applications – Enzyme installation"
Part 2 Testing React Applications – Enzyme Shallow and Full rendering
Category ReactPosted on March 23, 2020July 8, 2020

Part 2 Testing React Applications – Enzyme Shallow and Full rendering

Hi, we need to open our project "todos" in the code editor and go to todo/src/components/ and create the file called todo.test.js we are going to create the unit test co…
Read more "Part 2 Testing React Applications – Enzyme Shallow and Full rendering"
Part 1 Testing React Applications – Environment
Category ReactPosted on March 20, 2020July 8, 2020

Part 1 Testing React Applications – Environment

Hi, the first thing that we need is prepare our environment for test react applications.  So we need to install Node.JS, so go to https://nodejs.org/en/ en downl…
Read more "Part 1 Testing React Applications – Environment"

Posts navigation

Previous Page 1 … Page 4 Page 5

Recent Posts

How to Install WordPress and Setup Database – part 2
Category DatabasePosted on March 22, 2022March 22, 2022

How to Install WordPress and Setup Database – part 2

How to Install WordPress and Setup Database – part 1
Category DatabasePosted on March 22, 2022March 22, 2022

How to Install WordPress and Setup Database – part 1

Colocate state in React
Category ReactPosted on January 13, 2022January 13, 2022

Colocate state in React

useRef in React
Category ReactPosted on January 8, 2022January 8, 2022

useRef in React

Categories

  • Algorithms (22)
  • Apache (1)
  • Apollo (2)
  • Array (1)
  • async (2)
  • Asynchronous (11)
  • await (1)
  • Browser (4)
  • Call stack (5)
  • Callback (2)
  • Cassandra (1)
  • Chrome (1)
  • Cloud computing (1)
  • Code (1)
  • Cross browsing (1)
  • Cross browsing testing (1)
  • Css (9)
  • Data (3)
  • data structure (1)
  • Database (7)
  • Developer (1)
  • DevOps (1)
  • DOM (9)
  • ES6 (35)
  • express (2)
  • Fetch (1)
  • Functional programming (4)
  • git (4)
  • Github (6)
  • GraphQL (22)
  • Hackerrank (3)
  • HTML (5)
  • Inheritance (2)
  • Interviews (1)
  • Javascript (146)
  • JSON (1)
  • JSX (2)
  • Memory heap (5)
  • MySQL (6)
  • nodejs (8)
  • NoSQL (1)
  • npm (1)
  • Object.prototype (1)
  • performance (4)
  • Promise (3)
  • prototype (2)
  • React (49)
  • React Fundamentals (19)
  • React hooks (19)
  • React Testing Library (8)
  • Redux (1)
  • Regression testing (2)
  • Server (1)
  • Software Engineer (1)
  • SQL (4)
  • Styles (2)
  • success (1)
  • Synchronous (7)
  • terminal (2)
  • Testing (18)
  • TypeScript (10)
  • Uncategorized (9)
  • Unit test (15)
  • Unit testing (15)
  • wep app (2)
  • Wordpress (2)
  • work (1)
Made with love by Cristina Rojas ©2020 All rights reserved