Lint and compiler

purity

Render output should be determined by the render inputs. Move nondeterministic operations into event handlers or an appropriate external source.

Formal Syntax & Structure

react syntaxreact
react-hooks/purity

Working Example

Example Snippetreact
export default function App({createdAt}){return <time>{createdAt}</time>}
React Reference