Skip to content
Top Bar

Pravin Varma

Web Developer | Photography | Graphic Design | Digital artwork | Photo editing

  • My Digital Artwork
  • Photography
  • View My Profile
Javascript

Using Karma plugin in IntelliJ IDEA to run individual test files

Dec 15, 2022 Pravin Varma Comments Off on Using Karma plugin in IntelliJ IDEA to run individual test files

If you are using IntelliJ IDEA and working on test cases and if you want to run test cases in a particular file or a

Javascript

useContext hook

Jul 28, 2022 Pravin Varma Comments Off on useContext hook

Most of the blogs provide code that has parent and child component placed in the same file. The context is available to both the component.

Javascript

React useMemo example with explanation

Jul 8, 2021 Pravin Varma Comments Off on React useMemo example with explanation

import React,{useMemo,useState} from “react”;import “./style.css”;export default function App() { const [state, setState] = useState(0); for(let i=1;i<10;i++){ let a=1; let b = 1; console.log(useMemo(()=> {console.log(‘invoked’);return a+b},[a,b]))

Javascript

Mapping useEffect with lifecycle hook methods in React

Jul 5, 2021 Pravin Varma Comments Off on Mapping useEffect with lifecycle hook methods in React

componentDidMount useEffect(() => { // will run on every render }); useEffect(() => { // will run on first render },[]); componentDidUpdate useEffect(() => {

Javascript

Prevent child from re-rendering in React using React.memo

Jun 19, 2021 Pravin Varma Comments Off on Prevent child from re-rendering in React using React.memo

This is the parent component import React,{useEffect, useState} from ‘react’; import ‘./style.css’; import Child1 from ‘./child1’; export default function App() { const [change, setChange] =

Javascript

Chaining of methods for Javascript object

Jun 11, 2021 Pravin Varma Comments Off on Chaining of methods for Javascript object

function Student() { this.obj = {}; this.setName = function(name) { this.obj.name = name; return this; }; this.setAge = function(age) { this.obj.age = age; return this;

Javascript

Using Karma plugin in IntelliJ IDEA to run individual test files

Dec 15, 2022 Pravin Varma 0
Javascript

useContext hook

Jul 28, 2022 Pravin Varma 0
Javascript

React useMemo example with explanation

Jul 8, 2021 Pravin Varma 0
Javascript

Mapping useEffect with lifecycle hook methods in React

Jul 5, 2021 Pravin Varma 0
CSS

Working with CSS transformations

Mar 12, 2016 Pravin Varma

CSS transform allow us to transform elements in 2D or in 3D space.  With transform

CSS

Responsive navigation with jQuery

Mar 12, 2016 Pravin Varma

In the past posts, we see that our navigation is taking the entire viewing space.

CSS

Media Queries continued..

Mar 12, 2016 Pravin Varma

While learning about the Media Queries, I was having confusion between the properties height/width and

CSS

Using Media Queries for Responsive Web Design

Mar 12, 2016 Pravin Varma

You might have used the media attribute while attaching styles to target screen or sometimes

CSS

Working with CSS3 transition properties

Mar 12, 2016 Pravin Varma

CSS3 includes transition properties which helps to make certain element to change its current state

Posts navigation

PrevPrevious page Page 1 Page 2 Page 3

Pages

  • My Digital Artwork
  • Photography
  • View My Profile

Blogroll

  • Chrome extension
  • Flash Game

Archives

  • December 2022
  • July 2022
  • July 2021
  • June 2021
  • July 2020
  • June 2019
  • February 2019
  • January 2018
  • September 2017
  • July 2016
  • March 2016
Javascript

Using Karma plugin in IntelliJ IDEA to run individual test files

Dec 15, 2022 Pravin Varma 0
pravindvarma@gmail.com
Javascript

useContext hook

Jul 28, 2022 Pravin Varma 0
useMemo React
Javascript

React useMemo example with explanation

Jul 8, 2021 Pravin Varma 0
hooks react
Javascript

Mapping useEffect with lifecycle hook methods in React

Jul 5, 2021 Pravin Varma 0
Javascript

Prevent child from re-rendering in React using React.memo

Jun 19, 2021 Pravin Varma 0
method chaining
Javascript

Chaining of methods for Javascript object

Jun 11, 2021 Pravin Varma 0
Copyright © 2023 Bosa Blog. Powered by Bosa Themes