Class: Profile

Profile(props)

The class Profile will render the page of the user profile. It will render the edit profile buttons if the user is viewing his own profile It will not render the edit profile buttons if the user is viewing others profile

Constructor

new Profile(props)

the constructor will initilize the state of user profile

Parameters:
Name Type Description
props object
Source:

Members

componentDidMount

where all the data fetching happen

Source:

deleteAddress

delete the user's address

Source:

deleteEducation

delete the education information of the user

Source:

deleteExperience

delete the user's experience information

Source:

fetchAddress

fetch user's address

Source:

fetchAppliedJob

using custom query to fetch user's applied jobs

Source:

fetchEducation

fetch user's education information

Source:

fetchExperience

fetch user's experiences

Source:

fetchPhoto

fetch user photo from AWS Storage

Source:

fetchUserInfo

fetch user information from dynamodb

Source:

onCollapse

hide the sidebar

Source:

Methods

render()

begin to render

Source: