-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Tasks (Front-end)
-
Implement material UI for the delete button on the posts (https://mui.com/material-ui/react-button/) to utilize existing technologies in the application and to keep it consistent with the rest of the UI elements.
-
Change button manipulation from via the DOM to via the useState hook(https://reactjs.org/docs/hooks-state.html), I will link the button data to a state and change the button contents by changing the state.
State Example: const [delBtnStyles, setDelBtnStyles] = useState({ text: 'Delete', color: 'primary' })
This will be done to have more control over the button and its functionality, especially as the app grows more and increases in complexity, also using a State will ensure that I utilize more of React’s features
Reactions are currently unavailable