Skip to content

Instantly share code, notes, and snippets.

@pfraces
pfraces / 00-react-architecture.md
Last active October 7, 2020 08:30
React Architecture
@pfraces
pfraces / fronted-development.md
Last active February 4, 2020 15:47
Frontend development

Frontend development

The Web is evolving fast. It is becoming the primary way to build user interfaces. Companies are investing a lot of time, effort and money in web development. Hence the ecosystem of technologies, patterns and libraries is growing wild.

We need to rethink how we want to build user interfaces by reviewing what are the current needs a web page is solving today and what are the challenges we are facing along the way.

@pfraces
pfraces / katas.md
Created May 18, 2019 23:41
Coding Katas
@pfraces
pfraces / 01-functional-javascript.md
Last active November 19, 2018 23:41
Observables (a.k.a Streams)

Functional JavaScript

Function expressions

// function statement
function greet (name) {
 console.log('Hi ' + name + '!');
@pfraces
pfraces / index.html
Last active August 29, 2015 14:10
page layout
<head>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div class="view">
<div class="panel-left">
left
</div>
<div class="panel-right">
right
@pfraces
pfraces / 1st.draft.js
Last active August 29, 2015 14:02
dom.js - a DOM selector with plugins
// straightforward implementation
//
// drawbacks:
//
// - using querySelectorAll always returns an array, when the main use case is to select just one,
// having to access to the first node: dom('#nodeId')[0]
//
// - using querySelector just return the first element so we need an alternative way of access the
// other possible nodes
//