mirror of https://github.com/status-im/reagent.git
Add stuff to changelog
This commit is contained in:
parent
f673481c88
commit
a39e009108
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -3,11 +3,18 @@
|
|||
|
||||
## Upcoming
|
||||
|
||||
- Renamed `as-component` to `as-element`, to match React's new terminology better (old name still works, though, for backward compatiblity).
|
||||
|
||||
- Stop wrapping native components. This reduces the number of components created a lot, and can speed some things up substantially (especially render-to-string, that is not bound by browser performance). This is made possible by a new way of keeping track of which order to re-render dirty components.
|
||||
|
||||
- Added `create-element` to make it easier to embed native React
|
||||
components in Reagent ones.
|
||||
|
||||
- Arguments to components are now compared using simple `=`, instead of the old, rather complicated heuristics. **NOTE**: This means all arguments to a component function must be comparable with `=` (which means that they cannot be for example infinite `seq`s).
|
||||
|
||||
- React updated to 0.12.0. Reagent now creates all React components using `React.createElement`.
|
||||
- React updated to 0.12.1. Reagent now creates all React components using `React.createElement`.
|
||||
|
||||
- `render-component` is now render, and `render-component-to-string` is `render-to-string`, in order to match React 0.12.0 (but the old names still work).
|
||||
- `render-component` is now render, and `render-component-to-string` is `render-to-string`, in order to match React 0.12.1 (but the old names still work).
|
||||
|
||||
- Add `render-to-static-markup`. This works exactly like `render-to-string`, except that it doesn't produce `data-react-id` etc.
|
||||
|
||||
|
|
Loading…
Reference in New Issue