Explain about types of side effects in React component.