Saturday, May 2, 2020
Wednesday, April 29, 2020
Reactjs
Hello and Welcome to this tutorial on Reactjs . Here , we are going to learn Reactjs and also create a simple application .
Table of Contents
- Getting Started
- Components
- JSX
- props
- state
1. Getting Started
Finish
up all the required software installation (nodejs , vscode..) and start
with creating a simple application using the following command .
npx create-react-app your-app-name
npm start
2. Components
Components are basic building blocks of a React application . Let's create one .
Create a new file , here is an example of a sample component .
Create a new file , here is an example of a sample component .
import React from 'react';
import './App.css';
function App() {
return (
<div >
Hello World !
</div>
);
}
export default App;
2.1 render()
returns the HTML part of the component .
3. JSX
JSX stands for Javascript XML . You would have
notice that in the render function we return an HTML element , that's
actually a JSX . A JSX should be a valid XML .It is translated to
Javascript at runtime .You can use an expression {} in JSX .
4. props
We can access the data passed to a component using props .
5. state
A state can have multiple properties which
will be used within an application . If any state property is changed
the component is re rendered .
6.LifeCycle : Mounting
- Constructor
- static getDerivedStateFromProps
- render
- componentDidMount
AWS CloudFormation
CloudFormation is used to save the configuration ( as a JSON )which can be used to create a new service .
Service to provision resources using templates .
CloudFormation Template is a JSON document .
CloudFormation Stack : Services that are created using CloudFormation Template .
CloudFormation Designer : used to create a CloudFormation Template using a drag and drop .
CloudFormer : creates a cloudFormation template based on existing infrastructure .
Service to provision resources using templates .
CloudFormation Template is a JSON document .
CloudFormation Stack : Services that are created using CloudFormation Template .
CloudFormation Designer : used to create a CloudFormation Template using a drag and drop .
CloudFormer : creates a cloudFormation template based on existing infrastructure .
Amazon Aurora and Dynamo DB
DynamoDB will throttle or deny requests that exceed the table's provisioned throughput capacity .
Provisioned Throughput Capacity
Read/Write Operations per second provisioned for your DynamoDB table .
1 Read /Write Unit is 4kb item .
Provisioned Throughput Capacity
Read/Write Operations per second provisioned for your DynamoDB table .
1 Read /Write Unit is 4kb item .
AI
Workflow of a Machine Learning Project .
Example : Amazon Echo
1.collect data
2.Train Model : Iterate many times until good enough .
3. Deploy Model : get data back , maintain update model .
Workflow of a Data Science Project .
1.Collect Data
2. Analyze Data : Iterate many times to get good insight
3. Suggest hypothesis /action : Deploy changes / reanalyze new Data periodically .
Example : Amazon Echo
1.collect data
2.Train Model : Iterate many times until good enough .
3. Deploy Model : get data back , maintain update model .
Workflow of a Data Science Project .
1.Collect Data
2. Analyze Data : Iterate many times to get good insight
3. Suggest hypothesis /action : Deploy changes / reanalyze new Data periodically .
Monday, April 27, 2020
Subscribe to:
Posts (Atom)
-
Hi Guys , In this blog I will share information related to error : can't bind to 'formcontrol' since it isn't a known pr...
-
Hi Guys , This blog is about the error " Target container is not a DOM element. " The full error in the console log is ...
-
Error Blog This blog is about the error Error: Objects are not valid as a React child Problem Statement error on start of...