- The token needed to make requests should not be needed to be passed from within async action, API should handle it.
- If the user has a expired session and it couldn't refresh the application should notify and logout the user from the application.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const input = [pineapple, onion, lettuce, apple]; | |
const main = (input) => { | |
const output = []; | |
// check if the element is a veggie | |
// if is veggie do not push into result | |
// else push into result return output; | |
} | |
console.log(main(input)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 371, | |
"status": "completed", | |
"subtotal": "480.0", | |
"fee": "32.735128", | |
"updated_at": "2018-10-02T08:05:02.520-05:00", | |
"user": { | |
"id": 19, | |
"contact_name": "Javier Aldape", | |
"contact_email": "javieraldape@outlook.com", |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#ahwaa/intro
We are going to be using SCSS for the styling conserving a kind of BEM like approach whenever is possible, besides, we will make styles for layouts and components in desktop that will look decent on mobile and on top of that we will declare mobile files to address special styles that will edit the discourse built-in ones.
Links for getting started with a Discourse project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// load the default config generator. | |
var genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js'); | |
module.exports = function (config, env) { | |
var conf = genDefaultConfig(config, env); | |
// add es6 support for node_modules | |
// config structure is here | |
// https://github.com/storybooks/react-storybook/blob/d0fd01054f02e79518d36a6fbb238c24577fef83/dist/server/config/webpack.config.js | |
conf.module.loaders[0].exclude = /node_modules\/(?!(apollo-client)\/).*/; |