Hi there,
Trying to use React Anime in my project, and I keep getting the above error!
node v9.8.0
react v16.2.0
Snippet of my code:
render () {
const { type, show, title, fetching, handleCloseModal, initialValues } = this.props
let defaultValues = initialValues || {}
let animeProps = {
opacity: [0, 1],
translateY: [-64, 0],
delay: (el, i) => i * 200
}
return (
<Anime {...animeProps}>
{
show &&
<ActionModal
title={title}
show={show}
fetching={fetching}
onClose={handleCloseModal}>
{this._renderForm(type, defaultValues)}
</ActionModal>
}
</Anime>
)
}
Where show is a bool being passed from the parent component. I am also using styled-components throughout the app if that makes any difference?
The error seems to be in the actual anime.min.js file inside node_modules - not inside react-anime itself, but there is nothing there on the issue either. Anyone had this before and manage to solve it?
Hi there,
Trying to use React Anime in my project, and I keep getting the above error!
node v9.8.0react v16.2.0Snippet of my code:
Where
showis a bool being passed from the parent component. I am also usingstyled-componentsthroughout the app if that makes any difference?The error seems to be in the actual
anime.min.jsfile inside node_modules - not insidereact-animeitself, but there is nothing there on the issue either. Anyone had this before and manage to solve it?