Rename function to fix eslint-plugin-react crash
Naming the variable `createElement` caused a crash when running `yarn lint` with eslint-plugin-react v7.20.4, presumably because it was being treated like the `createElement` import from Preact/React.
Showing
Please register or sign in to comment