Create a post that would mimic posts on existing social media sites. We want to create a reusable Facebook component here.
It should follow this structure:
<wrapper className="facebook-post">
<avatar>
{children} // children
<imagecomponent>
<socialMediaButtons>
</>
Branches
create_facebook_post_component_48
Requires
45
Potential solutions
Solution:
Decided to hardcode the post information because later down the road, we'll be replacing the info with data fetched from a graphql query that will be done from within the components. This is to avoid unnecessary prop drilling. Eventually we should just be passing the user's id down into the post component and let the post component find that information and resolve itself.
Tasks
[x] create reusable Facebook component here using social media buttons container
Description
Create a post that would mimic posts on existing social media sites. We want to create a reusable Facebook component here.
It should follow this structure:
Branches
create_facebook_post_component_48
Requires
45
Potential solutions
Solution: Decided to hardcode the post information because later down the road, we'll be replacing the info with data fetched from a graphql query that will be done from within the components. This is to avoid unnecessary prop drilling. Eventually we should just be passing the user's id down into the post component and let the post component find that information and resolve itself.
Tasks
QA Notes
Deployment Notes
PR