Skip to content

Revert "Update 2013-07-26-react-v0-4-1.md" #565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions content/blog/2013-07-26-react-v0-4-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@ title: "React v0.4.1"
author: [zpao]
---

React v0.4.1 - небольшое обновление, в основном содержащее исправления ошибок.
Часть кода была реструктурирована внутри компании, но эти изменения не влияют
ни на один из наших публичных API.
React v0.4.1 is a small update, mostly containing correctness fixes. Some code has been restructured internally but those changes do not impact any of our public APIs.


## React {#react}

* Обратные вызовы `setState` теперь выполняются в рамках вашего компонента.
* `click` событие теперь работает на мобильном Safari.
* Предотвратили потенциальную ошибку при обработке событий при расширении `Object.prototype`.
* Не устанавливаем атрибуты DOM в строку `"undefined"` при обновлении, если она была определена ранее.
* Улучшена поддержка атрибутов `<iframe>`.
* Добавлены контрольные суммы для обнаружения и исправления случаев, когда
разметка рендеринга на стороне сервера не соответствует тому, что React
ожидает на стороне клиента.
* `setState` callbacks are now executed in the scope of your component.
* `click` events now work on Mobile Safari.
* Prevent a potential error in event handling if `Object.prototype` is extended.
* Don't set DOM attributes to the string `"undefined"` on update when previously defined.
* Improved support for `<iframe>` attributes.
* Added checksums to detect and correct cases where server-side rendering markup mismatches what React expects client-side.


## JSXTransformer {#jsxtransformer}

* Улучшенное обнаружение окружения, чтобы его можно было запускать в небраузерной среде.
* Improved environment detection so it can be run in a non-browser environment.


[Скачайте его сейчас!](/downloads.html)
[Download it now!](/downloads.html)