Sergii Kliuchnyk
Sergii Kliuchnyk
For example I need attach function to both events (before and after route), then I can do like this ``` coffeescript controller.on 'before-route after-route', -> ```
For now it supports only `require`. For now I don't have much time to add `import ... from`, maybe on this weekend. I will notice you in this issue
@bugdriven try it out
thanks for testing, fixed
@bugdriven can you please go to `node_modules\express-engine-jsx` and add to `package.json` option `"type": "commonjs",` it should say to your nodejs that my lib uses `commonjs` style instead of yours `module`...
you changed your `package.json`, I'm talking about `node_modules\express-engine-jsx\package.json`.
Домашку можно делать в папке с express
нет, лучше в отдельной папке - `express`
для связки Redux + Ajax советую посмотреть на https://redux-toolkit.js.org/api/createAsyncThunk вместо `await userAPI.fetchById(userId)` - может быть `await fetch('/todos/' + id)` и т.п.
@AndriiVitrenko да, на сервере