Maxime Vasse
Maxime Vasse
Maybe a bit ugly, but this will do the trick: ``` js class Foo extends Component { state = { typing: true, } done = () => { this.setState({ typing:...
Same here. Dirty workaround: delete and start again. ```bash # Does not work pm2 reload ecosystem.config.js --only MyApp --update-env # Do work pm2 delete MyApp pm2 start ecosystem.config.js --only MyApp...
+1. Native Jade variables could solve a lot of problems. For instance, a conditional class is nightmare without it.
@dalgard I want to achieve this in myTemplate.tpl.jade: ``` if field == "ok" span.label.label-success OK else span.label.label-danger Nope ``` But for now, I'm doing this, which I found heavy: in...