Skip to content
  • Home
  • React
  • Angular
  • JS Tips
  • Java
  • WordPress
  • Salesforce

User friendly Tech help

Helping ppl learn

Creating Pure Functional Component using React Memo

July 25, 2019July 25, 2019 ufthelp

How to create Pure Component in React? A functional component that we are modifying as Pure component:- import React from ‘react’; import Tabs from ‘../Tabs’; import ‘./RightPanel.scss’; const RightPanel = […]

Working example of React Ref api

July 9, 2019July 9, 2019 ufthelp

What is React Ref? Its another way of communicating with react components apart from “state” and “props” (Ref = creating reference of element). We need it to access the element […]

Apex Superbadge (part-1)

June 11, 2019June 11, 2019 ufthelp

Scenario:- Automate record creation Install the unmanaged package for the schema and stubs for Apex classes and triggers. Rename cases and products to match the HowWeRoll schema, and assign all […]

Vscode json for salesforce
Salesforce

Creating a salesforce lightning web component in visual studio code

June 7, 2019June 7, 2019 ufthelp

import { LightningElement, track } from ‘lwc’; export default class HelloLWC extends LightningElement { //default values @track typedValue = ”; salutationOptions = [ {‘label’: ‘None’, ‘value’: ‘None’}, {‘label’: ‘Mr.’, ‘value’: […]

vscode salesforce extension
Salesforce

How to use visual studio code for Salesforce?

May 30, 2019May 30, 2019 ufthelp

Lets learn how to create Salesforce project in visual studio code editor Install sfdx-cli on your pc by typing command in terminal > npm install -g sfdx-cli Verify installation is […]

tslint error in angular
Javascript

Fix lint errors in Angular cli

July 5, 2018July 5, 2018 ufthelp

The mind, once stretched by a new idea, never regains its original dimensions. Problem:- In Angular cli after executing the command ng lint shows a lot of lint errors based on the […]

Removing git tags before publishing

May 18, 2018 ufthelp

How we can remove npm/git tags before publishing:- git tag -d tagName git push origin :refs/tags/tagName Example:- ➜ git:(master) ✗ npm version patch v19.3.2 ➜ git:(master) git tag -d v19.3.2 […]

js adding div at runtime
Javascript

Using JS to add div elements dynamically

February 20, 2018February 20, 2018 ufthelp

Scenario:- Legacy code thrown at you with new UX design, and you cannot touch the original code. So doing latest UI changes is headache. Solution:- Play with the structure of […]

How to debug jest test cases(React)?

February 13, 2018August 1, 2019 ufthelp

Adding test cases to your code always helps in the long run, today we’re going to talk about how to debug test cases. Do something today that your future self […]

Console.log trick for debugging

February 2, 2018February 20, 2018 ufthelp

Why need see our debug messages bigger and brighter, simply use the below trick. console.log(‘%c This is my log for debugging’, ‘font-size: 40px; color: green;’); “Striving for excellence motivates you; […]

  Older posts

Archives

  • July 2019
  • June 2019
  • May 2019
  • July 2018
  • May 2018
  • February 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • April 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013

Meta

  • Log in
Proudly powered by WordPress | Theme: Alizee by aThemes