Draft Pods proposal for the Chat solution, topics to discuss:
- Likely lobby and chat components should be in the same pods.
- This would just to show how to isolate in pods (core will hold session-info reducer).
Option A)
├───common-app
Installing swagger globally
npm install -g swagger
Create a new swagger project
swagger project create
class Pedido { | |
constructor() { | |
this.descuento = 0.90; | |
this.venta = 100; | |
} | |
aplicaDescuento() { | |
debugger; | |
console.log(this.venta); | |
var self = this; |
Listado de latitud y longitud, marcadores centrados por cada comunidad autónoma (España).
Posibles utilidades: mapas que montes con d3js.
Ejemplo de uso: https://codesandbox.io/s/hopeful-ellis-rlczx
Currying is the act of turning a function into a new function that takes slightly fewer arguments, achieving a slightly more specific task.
http://macr.ae/article/es6-and-currying.html
Let's start by making a simple function that will sum up two numbers, using currying:
In this gist we are going to learn about basic goodies that we get from the library lodash/fp (fp stands for functional programming, great for ensuring immutability).We'll learn just by doing (step by step guided sample + codepens).
We'll cover lodash set and flow functions