This is similar to more frontend modules exposing DOM nodes. The value of interoperability is hard to overestimate
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
that interface has a problem, as it assumes you attaching info to req/res. It’s an antipattern for perf code in. V8.
-
are you saying passing req, res around causes deopts? In this case I find myself rewriting lots of code; having more like^ would speed it up
- 2 more replies
New conversation -
-
-
That’s one of my favorite things about choo. The middleware “.use” pattern is so nice.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If you look on my github I've modules like this for cookies & sessions :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I usually prefer reuse on a "lower" level. `req, res` is coupled/framework instead of module. Http2 might even have different API?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.