Monday 8 August 2022

09 What is Functional Components | what is functional components in hindi




What is functional component?


How to create?





What is  Functional Component?

Its similar and write pattern like Javascript function hence its called functional component.

Functional component can be written using much less code more faster and easier to understand.

Functional component behave and act much the same way as a Class Component. 





Functional Component

Its like a function that takes in props and return JSX. 

JSX stands for JavaScript XML. It is simply a syntax extension of JavaScript. JSX allows us to write HTML in React.

Functional component is also known as a stateless component because not hold or manage state.



NOTE:

It is now suggested to use Function components along with Hooks, which were added in React 16.8.

Filename of component must start with an uppercase character.





Example: Hello.js
// Functional Component Example
import React from 'react';
function Hello(props){
   return (
      <h1>
         Welcome to Learn {props.name}
      </h1>
   )
}
export default Hello;



Example: HelloWorld.js
// Functional Component Example
import React from 'react';
const HelloWorld =()=> {
   return (
      <div>
         <p>Hello World!</p>
   <strong>ReactJS is easy to learn.</strong>
      </div>
   )
}export default HelloWorld;




Sunday 7 August 2022

08 What is component in reactjs | types of component in reactjs in hindi | reactjs ...




What is Component?

Types of Components





what ReactJs  component
Online training in all above technologies



  • Basic meaning of component is “one of several parts of which something is made”
  • In ReactJS one UI page is consists of so many component(s).
  • Components are independent and reusable code. Building blocks of ReactJS Application.
  • Components is like JavaScript functions, but work individually to return JSX code as elements for UI.
  • Parent Component  is group of all child components.


vfp form add the record using scatter and gatther in form | scatter gather using form


vfp form add the record using scatter and gatther in form


You will learn following things:
  • What is SCATTER-GATHER command  ?
  • How to create form using SCATTER-GATHER?
  • Practical




FORM LOAD EVENT COMMANDS:
CLOSE TABLES ALL
USE Clients
SCATTER MEMVAR Blank  




FORM ADD BUTTON CLICK EVENT COMMAND:
APPEND BLANK 
GATHER MEMVAR 
thisform.Release 

Saturday 6 August 2022

02 Dimension vfp array | how to create array in vfp | get value from array


02 Dimension vfp array, how to create array in vfp, get value from array, vfp tutorial in hindi




  • DIMENSION command
  • Example
  • Practical


Using this command you can creates a one-dimensional and two-dimensional array of variables.



How to Crete One Dimensional Array in VFP and Visual Foxpro?

Command : DIMENSION FriendList(10)

How to Create Two Dimensional Array in VFP and visual foxpro?

Command : DIMENSION ItemNQty(2,4)



How To Set Value in Array in VFP and visual foxpro?

Commands:
FriendList(1) = "Rajesh Kalla" FriendList(2) = "Ashish Kalla" FriendList(3)="Jayesh" FriendList(5)="Jayesh" FriendList(5)="Ramesh"



How to Get Values from Array in VFP and Visual Foxpro?

?FriendList(2) ?FriendList(4)


How to Dispaly all the values of specific Array in VFP and Visual Foxpro?

DISPLAY MEMORY LIKE FriendList