Getting started:
Related tutorials:
| export const countries = [ | |
| ({ code: 'AD', emoji: '🇦🇩', name: 'Andorra' }, | |
| { code: 'AE', emoji: '🇦🇪', name: 'United Arab Emirates' }, | |
| { code: 'AF', emoji: '🇦🇫', name: 'Afghanistan' }, | |
| { code: 'AG', emoji: '🇦🇬', name: 'Antigua and Barbuda' }, | |
| { code: 'AI', emoji: '🇦🇮', name: 'Anguilla' }, | |
| { code: 'AL', emoji: '🇦🇱', name: 'Albania' }, | |
| { code: 'AM', emoji: '🇦🇲', name: 'Armenia' }, | |
| { code: 'AO', emoji: '🇦🇴', name: 'Angola' }, | |
| { code: 'AQ', emoji: '🇦🇶', name: 'Antarctica' }, |
| /* | |
| API Proposal for a Router Module for Hyperapp: | |
| Problems to solve: | |
| 1. In large applications, managing the construction of dynamic urls very often is required to avoid broken links in the application. | |
| One way to enforce this is using in the view, some helpers, for example: | |
| <Link to={routes.profile.url({id: 10})} />Profile</Link> | |
| In this case, 2 validations are performed by the compiler (Typescript): | |
| a) The url for the alias `profile` does exist in the routes definition. | |
| b) The developer is passing All the required parameters (id) to build the url. |
Getting started:
Related tutorials:
| 'use strict'; | |
| /** | |
| * See http://notes.webutvikling.org/send-aws-cloudwatch-alarms-to-slack/ for instructions | |
| * But I like this code better because the snsToSlack.js code doesn't parse the CloudWatch JSON | |
| * | |
| * Follow these steps to configure the webhook in Slack: | |
| * | |
| * 1. Navigate to https://<your-team-domain>.slack.com/services/new | |
| * |