Forum Bugs

unexpected token reserved("const")

kathar0s
I think this is about ES2015(ES6) problem.

Prince cannot recognize ES6 syntax maybe.

const state = {
activateDownload: false,
toastVisible: false,
toastMessage: '',
toastState: false,
useGNB: true
}

is there a plan to fix this problem?
mikeday
Correct, Prince does not support ES6 at this time. We may fix this in the future, but not in the short term.