Skip to content

Home task 5 - Ana Skalabava#72

Open
pamjaranka wants to merge 1 commit intoTa4i:masterfrom
pamjaranka:home-task-5
Open

Home task 5 - Ana Skalabava#72
pamjaranka wants to merge 1 commit intoTa4i:masterfrom
pamjaranka:home-task-5

Conversation

@pamjaranka
Copy link
Copy Markdown

Делала callapi на http://localhost:3001/api/comment

Copy link
Copy Markdown
Owner

@Ta4i Ta4i left a comment

Choose a reason for hiding this comment

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

Все классно получилось!

id: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
text: PropTypes.string.isRequired,
//text: PropTypes.string.isRequired,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

правильно, текст у нас не сразу есть


case LOAD_ALL_COMMENTS + START:
return articles
.set('loadingComments', true)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

да можно так, а можно комменты тоже сделать рекордом и в них хранить такие метаданные

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.

3 participants