Skip to content

Instantly share code, notes, and snippets.

View SaraVieira's full-sized avatar
🤷‍♀️
open sourcy and shit

Sara Vieira SaraVieira

🤷‍♀️
open sourcy and shit
View GitHub Profile
import styled, { css } from 'styled-components';
export const Section = styled.main`
display: flex;
flex-direction: column;
background: #fff;
`;
export const Paragraph = styled.p`
font-size: 14px;
import { keyframes } from 'styled-components';
export const rotate = keyframes`
0% {
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
}
50% {
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
}
100% {
Okay , this needs a gist.
What I mean is the following , not comparing anything here. I'm a huge advocate for both the frameworks !
You know preact right ? Because you keep up with programming and new stuff in JS.
That's all I am saying.
You have a job that uses react/angular/wtv but you do search the web and see if there are better tecnhologies for that job,
maybe there aren't any better ones but the fact that you keep up with this is what I am searching for in prople.
now -e SLACK_API_TOKEN=" TOKEN " -e SLACK_SUBDOMAIN=" subdomain " now-examples/slackin -n subdomain
@SaraVieira
SaraVieira / faq.md
Last active October 11, 2017 06:40

Why is command x is in the Readme but it doesn't work ?

The Readme in Github points to master in preact-cli and that is the development branch so it's possible that some commands may still not be available in the last version but as soon as there is a bump in the version they will available. You can always rely on the Readme in NPM.

How do I modify SW config ?

We have a plugin for that preact-cli-sw-precache and this allows you customize SW as you please.

import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('root'))
console.log(‘HEEEEREE’);
console.log('This a log');
console.warn('This a warning');
console.error('This a error');
console.info('This an info');
console.time("for loop");
var arr = [];
for (i = 0; i < 10000000; i++) {
arr.push(i);
}
console.timeEnd("for loop");
const people = [
{
name: 'Sara',
age: 25
},
{
name: 'Alex',
age: 27
},
{