this.container = d } />;
}
}
```
## jQuery, D3...
-- full-image
## Finally It's gonna be ok.

-- problem
# Managing state
--

http://redux.js.org/

https://mobx.js.org/
-- problem
# Testing components
--

https://facebook.github.io/jest/
## Enzyme
http://airbnb.io/enzyme/
-- code small
# Snapshot testing
```javascript
import React from "react";
import { render } from "enzyme";
import Icon from "components/icon";
describe("
", () => {
it("renders", () => {
const wrapper = render(
);
expect(wrapper).toMatchSnapshot();
});
});
```
-- trabe-green
# Parting notes
--
# Use but not abuse
* Prefer stateless components
* Fully embrace Redux to make some of this technics irrelevant
* Beware of experimetal APIs
* Stick to the React way
--
# Update your React
## React 15.5
### Deprecation madness
## React 16 (Fiber)
### Bye bye wrappers.
-- trabe
# Questions?
-- full-image
## See ya!
