Skip to content

Instantly share code, notes, and snippets.

View PeterKow's full-sized avatar
👨‍💻

Peter Kowalczyk PeterKow

👨‍💻
View GitHub Profile
@alexandrebodin
alexandrebodin / App.js
Created January 23, 2020 20:46
Strapi graphQL upload mutation
import React from "react";
import "./App.css";
import { ApolloProvider } from "@apollo/react-hooks";
import gql from "graphql-tag";
import { ApolloClient } from "apollo-client";
import { createUploadLink } from "apollo-upload-client";
import { InMemoryCache } from "apollo-cache-inmemory";
@AshikNesin
AshikNesin / react-file-upload.js
Created February 2, 2017 06:46
Simple React File Upload
import React from 'react'
import axios, { post } from 'axios';
class SimpleReactFileUpload extends React.Component {
constructor(props) {
super(props);
this.state ={
file:null
}
@staltz
staltz / introrx.md
Last active April 8, 2026 15:03
The introduction to Reactive Programming you've been missing
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active April 8, 2026 18:19
A badass list of frontend development resources I collected over time.
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active February 14, 2026 13:18
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version