Skip to content

Conversation

Jewelhae
Copy link

@Jewelhae Jewelhae commented Feb 2, 2023

No description provided.

let countLikes =0;

const App = () => {
const [chatEntry, setChatEntry ] = useState(chatMessages);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see you using useState to track changes!


ChatEntry.propTypes = {
//Fill with correct proptypes
id: PropTypes.number,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice use of proptypes to control data requirements!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants