Closed luskin closed 6 years ago
Looks like there is a bug with RN 0.56.0.
Could be due to the const in your code here?
const
const stylesStore = {} export const getDashStyle = (props) => { const isRow = isStyleRow(props.style) const id = getDashStyleId(props, isRow) if (!stylesStore[ id ]) { stylesStore = { ...stylesStore, [ id ]: createDashStyleSheet(props, isRow), } } return stylesStore[ id ] }
confirmed, changing to a var fixes this error. Opening a PR now.
var
Looks like there is a bug with RN 0.56.0.
Could be due to the
const
in your code here?