This:
addStateHandlers(
{
x: 0
}, {
incrementX: ({x, y}) -> -> x: x + y + 1
},
(
oldProps
newProps
) -> oldProps.y isnt newProps.y
)
is first getting formatted as:
addStateHandlers
x: 0
,
incrementX: ({x, y}) -> -> x: x + y + 1
,
(oldProps, newProps) -> oldProps.y isnt newProps.y
but then that is getting formatted as:
addStateHandlers {x: 0}, incrementX: ({x, y}) -> -> x: x + y + 1, (
oldProps
newProps
) -> oldProps.y isnt newProps.y
which doesn't parse
This:
is first getting formatted as:
but then that is getting formatted as:
which doesn't parse