-
Hi, Apollo-local-query looks to be a great package for me to avoid go out and back through the networking stack, before I'm looking to gain some speed to render the data of my queries.
Unfortunatel…
-
今天尝试搭建了一下,搞不定搞不定。。。
console报这个
"{"code":-1,"error":"ERR_GET_SESSION_KEY\n{\"code\":5100,\"message\":\"(-1)服务内部错误,请稍后重试或联系客服人员解决。\",\"codeDesc\":\"ResourceOpFailed\"}"}"
npm报这个
npm WARN koa-wea…
xzhih updated
7 years ago
-
ctx.sessionId is useful and necessary
-
* **Node Version**: v8.2.1
* **Egg Version**: egg@0.9.0
* **Plugin Name**:
* **Plugin Version**:
* **Platform**: windows
* **Mini Showcase Repository**:
最近一段时间没有用egg,我重新复制了之前可以跑的项目,npm insta…
-
I want to take `koa-session` to remember user login state. And after reading docs and code ,I got blocked by the concept `store session in cookie`.
I take this code to show my understanding
…
-
> 作者: [编译青春](https://www.zhihu.com/people/CompileYouth/answers)
>
> 2017-08-04
本文对兴趣部落项目前端开发中使用到的性能优化方式进行总结。兴趣部落项目是手机QQ(以下简称手Q)中最大的纯网页应用,每日有大量的用户访问,对于腾讯这样一个对产品有着极致要求的公司,性能优化是一个绕不开的话题。下面就对项目中所使用的…
-
after multipart/form-data parsing works fine, there are some issues with other routers that don't use multipart/form-data, but json request. It sends POST request from client using `axios`. and It wor…
-
* **8.1**:
* **1.4.0**:
* **mac**:
我在创建中间件的时候,发现
ctx.response.headers.hasOwnProperty 是 undefined
但是typeof ctx.response.headers 结果是object
我的代码是
``` javascript
module.exports = opti…
-
We were using a different session module. I never looked at `koa-session` because the description sounds like it only supports cookies (we use Redis). Turns out, it’s easy to plug Redis into `koa-sess…
-
```
TypeError: Cannot read property 'properties' of null
at annotation.types.reduce (/Users/brunolemos/Projects/devhub/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.j…