syntax and comments explaing code for each task and screen shots of outcome per task .tasks answers separated showing please.Functional components should be applied not classical .you can use stackblitz
Task 1
1)
Create a React component Customer.js.
Using the props parameters, add the following attributes (String type) for the component:
id, name, address, companyName, registrationDate.
2)
As part of App.js create one instance of the Customer component to display a customer
record.
Use arbitrary data of your choice.
[10 marks]
Task 2
Create a UI panel React component CustomerPanel.js.
Add the panel component to App.js.
Attempt the following:
3
1)
Create Hook Expressions React.useState(”); to create setter methods for the attributes:
id, name, address, companyName, registrationDate.
2)
Add data entry text fields with data binding for the attributes (add onChange
event handler for each text field).
3)
Add a button event handler to read the data entered, in a window.alert pop up panel.
[15 marks]
Task 3
1)
Create a React Component Customers.js, to display customers.
In the props for the component, provide Json data for the customer instances to be
displayed.
Use the array.map(item =>
) operator to list the customers along with details.
Add the component to App.js, providing arbitrary data of your choice for 3 records to be
displayed in the component.
[10 marks]
Task 4
1)
Modify your code for the button event handler in CustomerPanel component, to display a
The "article sharing for free answers" option enables you to get a discount of up to 100% based on the level of engagement that your social media post attracts. When you get a discount code, you use it to place an order through this link, and a waiver applies based on the code you get via email, for example, a 100% discount means no charges will apply.
The level of engagement is determined by aspects like organic clicks, active sign ups or even potential leads to your classmates who can pay for the specific paper. In this regard, adding images, Social media tags and mentions are likely to boost the visibility of your posts to the targeted audience and enable you to get a higher discount code.
Please share the post as many times as you can.
Share test to get free answers
This option allows you to get some discount for suggesting friends who would order a copy of this assignment.
1 Successful suggestion = 30% discount
2 Successful suggestions= 60% Discount
2 Successful Suggestions= 100% Discount ***Free Copy*** Proceed