7 ms·
this is why the express team actively rejects any features or support for dynamically changing middleware and routes during runtime.
by jongleberry 12y ago
this is why the express team actively rejects any features or support for dynamically changing middleware and routes during runtime.
- _RPM 12y ago_this_ is ambiguous. Can you explain what the context of "this" is?
- fraserharris 12y agoFrom the original Netflix post: "This turned out be caused by a periodic (10/hour) function in our code. The main purpose of this was to refresh our route handlers from an external source. This was implemented by deleting old handlers and adding new ones to the array. Unfortunately, it was also inadvertently adding a static route handler with the same path each time it ran."
- VeejayRampay 12y agoThe ultimate irony is probably a comment about the ambiguity of "this" in an article about a Javascript-based technology.