Skip to content

Lesson 03#6

Open
vikkanaev wants to merge 5 commits intomasterfrom
lesson-03
Open

Lesson 03#6
vikkanaev wants to merge 5 commits intomasterfrom
lesson-03

Conversation

@vikkanaev
Copy link
Copy Markdown
Owner

Что сделано:

  • Проведен рефакторинг согласно принципам "Философия React"
  • Создана форма обратной связи
  • Создан пользовательский контекст

return (
<div>
<label>{label}</label>
{ React.createElement(type, { name, onChange, value }, null) }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

если бы Type здесь оказался с большой буквы, то можно было бы просто <Type name={name}... />

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