Open in app

Sign In

Write

Sign In

Kawsar Ahmed
Kawsar Ahmed

3 Followers

Home

About

Nov 5, 2020

Some tips JavaScript & React

01. How to works React State Hook function useState(initiaValue){ var myData = initiaValue; function state(){ return myData; } function setState(newValue){ myData = newValue; } return[state, setState]; } const [data, setData] = useState(0); console.log(data()); //retrun 0 setData(101); console.log(data()); // retrun 101 At first, we are creating a function this name is useState().

6 min read

Some tips JavaScript & React
Some tips JavaScript & React

6 min read


Nov 4, 2020

Do you know the things about React?

01. Functions vs classes Components created with the function. function components release after class components. Function components introduced “React Hooks”.The React hooks release introduced a new API to make a function component stateful and give it many other features. With this new API, most of what is usually done with React can be done…

5 min read

Do you know the things about React?
Do you know the things about React?

5 min read


Nov 3, 2020

Most useful things for JavaScript

01. JavaScript function with default parameter values The default function parameter allows a function passed a parameter to be initialized with default values if you no pass value then you will see an undefined error message. Syntax function [name]([param1[ = defaultValue1 ][, ..., paramN[ = defaultValueN ]]]) { statements } For instance, If we not passed parameter value…

6 min read

Most useful things for JavaScript
Most useful things for JavaScript

6 min read


Nov 2, 2020

You must know about JavaScript

01. charAt() Syntax: let strCharacter = str.charAt(index)

3 min read

You must know about JavaScript
You must know about JavaScript

3 min read


Published in Basic Codding Knowledge

·Aug 18, 2020

What is the difference between innerHTML & innerText

If you know basic or Advanced JavaScript, you know innerHTML and InnerText property. It is basic on javascript core concepts, But huge developer don’t know innerHTML & innerText property In between little difference.

Innerhtml

1 min read

What is the difference between innerHTML & innerText
What is the difference between innerHTML & innerText
Innerhtml

1 min read

Kawsar Ahmed

Kawsar Ahmed

3 Followers

Front end Developer

Following
  • fatfish

    fatfish

  • Raihan Tazdid

    Raihan Tazdid

  • Nowshad

    Nowshad

  • Reed Barger

    Reed Barger

  • Cyan Tarek

    Cyan Tarek

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech