No Image

new feature of react js

14th December 2018 prakash-javerkar 0

Change life cycle  1– componentWillMount componentWillReceiveProps componentWillUpdate Theme const ThemeContext = React.createContext(‘light’); class ThemeProvider extends React.Component { state = {theme: ‘light’}; createRef API   class MyComponent […]

No Image

react Lifecycle Methods

14th December 2018 prakash-javerkar 0

Lifecycle Methods componentWillMount is executed before rendering, on both the server and the client side. componentDidMount is executed after the first render only on the client side. […]

No Image

show result on front page in react simple page

14th December 2018 prakash-javerkar 0

// @flow import React, { Component} from ‘react’; //import PropTypes from ‘prop-types’; import axios from ‘axios’; //import ReactDOM from ‘react-dom’; import { Link } from […]

No Image

Redux Form : create simple redux form page

14th December 2018 prakash-javerkar 0

step 1:- Create component — npx react-cli -c Componentname npm install npm update http://localhost:3000/ npm install -g create-react-app create-react-app hello-world npx create-react-app hello-world npm start npm […]

react redux basic steps : interview question answer set 3

13th December 2018 prakash-javerkar 0

–Redux makes it easy to manage the state of your application. Another way of looking at this – it helps you manage the data you […]

No Image

react js : interview question answer set 2

13th December 2018 prakash-javerkar 0

What is a closure? –A closure is an inner function that has access to the outer (enclosing) function’s variable –a closure is a function that […]

No Image

react setup : interview question answer set 1

13th December 2018 prakash-javerkar 0

npm init –yes npm install npm update npm install -g create-react-app npx create-react-app rsysfitbit cd rsysfitbit npm start http://localhost:3000/ npm i react-cli-tool npm i history […]