snoh666 / react-typescript-template Goto Github PK
View Code? Open in Web Editor NEWTypeScript Boilerplate for React. Contains: redux with thunk, styled components, eslint (airbnb config), prettier, import aliases (react-app-rewired)
TypeScript Boilerplate for React. Contains: redux with thunk, styled components, eslint (airbnb config), prettier, import aliases (react-app-rewired)
Clean up all the packages and move them to proper locations.
Meaning moving them from global deps to devDeps.
One of few examples move @types/jest into devDependencies
Just by using this template I've come across that every time that I start new project and it differs in need, I need to remove parts of directories structure and some components.
Thinking about it maybe It's better to create clean template with no dir structure at the start.
For components we want to use
<name>/
__test__
index.test.tsx
index.tsx
So we're basically removing double name export for each component and everything associated
I think updating rewired aliases to just universal aliases would be much better.
https://betterprogramming.pub/the-right-usage-of-aliases-in-webpack-typescript-4418327f47fa
Basic test
command doesn't work.
Probably coudl think about implementing tests to expand on with enzyme rendering
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.