reactjs Render methods should be a pure function of props and state But i just use function parameter
If you try to call this on a component that has not been mounted yet (like calling findDOMNode() in render() on a component that has yet to be created) an exception will be thrown. Remove a mounted React component from the uses of rendering DOM and clean up its event handlers and state. If no [...]