Before getting to React, it's helpful to know what this does generally in Javascript.
Take the following snippet of code. It's written in ES6 but the principles for this
predate ES6.
class Dog {
constructor() {| Name | Description | Exceptions |
|---|---|---|
| Avoid async void | Prefer async Task methods over async void methods | Event handlers |
| Async all the way | Don't mix blocking and async code | Console main method |
| Configure context | Use ConfigureAwait(false) when you can |
Methods that require context |
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
| Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. | |
| To use the support version of these attributes, remove the android namespace. | |
| For instance, "android:colorControlNormal" becomes "colorControlNormal". | |
| These attributes will be propagated to their corresponding attributes within the android namespace | |
| for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix. | |
| All Clickable Views: | |
| ----------- |
| var HEADER_NAME = 'MyApp-Handle-Errors-Generically'; | |
| var specificallyHandleInProgress = false; | |
| angular.module('myApp').factory('RequestsErrorHandler', ['$q', function($q) { | |
| return { | |
| // --- The user's API for claiming responsiblity for requests --- | |
| specificallyHandled: function(specificallyHandledBlock) { | |
| specificallyHandleInProgress = true; | |
| try { | |
| return specificallyHandledBlock(); |
Allows to control the page title from the AngularJS route system, controllers or any other component through an injectable service.
To get started add the module to your app and configure the page title provider:
| using System.IO; | |
| using Microsoft.Ajax.Utilities; | |
| /// <summary> | |
| /// Minify javascript files with externally overridable configuration settings. | |
| /// </summary> | |
| public class ConfigurableJsMinify : StandardFileBundleTransform { | |
| protected bool includeFilenamesInOutput; |