Skip to content

Instantly share code, notes, and snippets.

View dev99problems's full-sized avatar
🤷
Little By Little

Gene Chulkov dev99problems

🤷
Little By Little
View GitHub Profile

CRA 2.x + TS setup:

This will give you complete intellisense and type safety within your app and CSS modules

typesafe-css-modules

🚨 NOTE

  • refactoring className from ts file wont update your css/scss className, to change class names you have to change it within your .module.scss file
@dev99problems
dev99problems / react-file-upload.js
Created March 2, 2020 15:57 — forked from AshikNesin/react-file-upload.js
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
}