摘要:
React's inline styles allow components to stand on their own by not requiring any external CSS. However HTML's style attributes don't support pseudo s 阅读全文
摘要:
Immutable.js offers methods to break immutable structures into subsets much like Array--for instance it has the all powerful slice()--and unlike Array 阅读全文
摘要:
Immutable.js provides several methods to iterate over an Immutable.Map(). These also apply to the other immutable structures found within the Immutabl 阅读全文
摘要:
hapi has built-in support for parsing cookies from a request headers, and writing cookies to a response, making state management easy and straight-for 阅读全文
摘要:
hapi supports request validation out of the box using the joi module. Request path parameters, payloads, and querystring parameters can be validated w 阅读全文
摘要:
The Immutable.js Record() allows you to model your immutable data much like you would model data with native Javascript classes or objects. It differs 阅读全文
摘要:
hapi automatically responds with JSON for any error passed to a route's reply()method. But what if your application needs errors rendered in HTML? Thi 阅读全文
摘要:
Instead of using middlware, hapi provides a number of points during the lifecycle of a request that you can hook-in to provide additional functionalit 阅读全文
摘要:
hapi makes handling POST and PUT payloads easy by buffering and parsing them automatically without requiring additional modules or middleware. This po 阅读全文