Skip to content

Hometask 8#90

Open
0ro wants to merge 11 commits intoromabelka:masterfrom
0ro:hometask_8
Open

Hometask 8#90
0ro wants to merge 11 commits intoromabelka:masterfrom
0ro:hometask_8

Conversation

@0ro
Copy link

@0ro 0ro commented Feb 13, 2018

No description provided.

render() {
console.log('---', 4)
const {article, isOpen, toggleOpen} = this.props
const { dictionary } = this.context
Copy link
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.

2 participants