We had previously refused to add any kind of JS to Simple Web projects, but we've since relaxed that rule a bit, so I think it would be nice to have an official policy on what things can be implemented with JS. Here's what I came up with:
We try to avoid JS as much as possible, but in certain circumstances using it is
acceptable. There are some conditions though:
- The feature is impossible to satisfactorily implement without using JS
- As little JS as possible is used
- No "modern" JS features are used unless necessary (e.g. no arrow functions or
let)
@ManeraKai @metalune I'd like both of your opinions on what I wrote up here, including suggestions for extra conditions.
We had previously refused to add any kind of JS to Simple Web projects, but we've since relaxed that rule a bit, so I think it would be nice to have an official policy on what things can be implemented with JS. Here's what I came up with:
> We try to avoid JS as much as possible, but in certain circumstances using it is
acceptable. There are some conditions though:
> - The feature is impossible to satisfactorily implement without using JS
> - As little JS as possible is used
> - No "modern" JS features are used unless necessary (e.g. no arrow functions or `let`)
@ManeraKai @metalune I'd like both of your opinions on what I wrote up here, including suggestions for extra conditions.