Skip to content

Instantly share code, notes, and snippets.

View iagodahlem's full-sized avatar

Iago Dahlem iagodahlem

View GitHub Profile
@iagodahlem
iagodahlem / meta-tags.md
Created October 6, 2016 20:14 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>

we-are-hiring

OPORTUNIDADES DE ESTÁGIO E CLT

A Codeminer 42 é uma butique de software brasileira. Trabalhamos para startups e grandes empresas, temos diversos tipos de serviços que vão de ciclo de vida de desenvolvimento de projetos do zero a resgate de projetos.

Nossa especialidade é desenvolvimento web com Ruby on Rails e seu ecossistema satélite. Temos experiência em todos os tipos de produtos de tecnologia como e-commerces, e-learning, redes sociais, gerenciamento de conteúdo, automação de processos.

Nós começamos a operar em setembro de 2011 e já somos mais de 60 pessoas em 9 cidades brasileiras: São Paulo (HQ), Campinas, Novo Hamburgo, Natal, Sorocaba, Teresina, Anápolis, Goiânia e Batatais.

.
|-- src
|  |-- app
|  |  |-- user
|  |  |  |-- CreateUser.js
|  |  |-- article
|  |  |  |-- GetArticle.js
|  |-- domain
| | |-- user
.
|-- src
|  |-- common
|  |  |-- infra
|  |  |  |-- httpService.js
|  |  |-- view
|  |  |  |-- Button.js
|  |  |  |-- Input.js
| |-- article
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-state-shape.js
Last active March 29, 2019 15:01
Scalable Frontend - The State Layer - State Shape
{
articles: [
{
id: 1,
title: 'Managing all state in one reducer',
author: {
id: 1,
name: 'Iago Dahlem Lorensini',
email: '[email protected]'
},
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-combine-reducers.js
Last active March 29, 2019 15:02
Scalable Frontend - The State Layer - Combine Reducers
import { combineReducers } from 'redux'
const authorsReducer = (state, action) => newState
const articlesReducer = (state, action) => newState
const rootReducer = combineReducers({
authors: authorsReducer,
articles: articlesReducer,
})
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-articles-state-shape.js
Last active March 29, 2019 15:05
Scalable Frontend - The State Layer - Articles State Shape
{
isLoading: false,
error: null,
list: [] // <- this is the array of articles itself
}
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-articles-combine-reducers.js
Last active March 29, 2019 15:06
Scalable Frontend - The State Layer - Articles Combine Reducers
const isLoadingReducer = (state, action) => newState
const errorReducer = (state, action) => newState
const listReducer = (state, action) => newState
const articlesReducer = combineReducers({
isLoading: isLoadingReducer,
error: errorReducer,
list: listReducer,
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-normalized-state-shape.js
Last active March 29, 2019 15:08
Scalable Frontend - The State Layer - Normalized State Shape
{
articles: {
byId: {
'1': {
id: '1',
title: 'Managing all state in one reducer',
author: '1',
},
'2': {
id: '2',
@iagodahlem
iagodahlem / scalable-front-end-the-state-layer-normalized-state-shape-organization.js
Last active May 16, 2019 18:37
Scalable Frontend - The State Layer - Normalized State Shape Organization
{
currentUser: {},
entities: {
articles: {},
authors: {},
},
ui: {},
}