tuchk4 / awesome-create-react-app Goto Github PK
View Code? Open in Web Editor NEWAwesome list of Create React App articles / tutorials / videos and FAQ
License: Creative Commons Zero v1.0 Universal
Awesome list of Create React App articles / tutorials / videos and FAQ
License: Creative Commons Zero v1.0 Universal
Not sure where this would fit in your repo but I think it's worth adding:
https://medium.com/@stoyanstefanov/craft-create-react-app-from-template-7fd3383d0954#.m341rutmt
I wanted to share some notes on using the CRA proxy feature to use a remote https api - whether that's a qa api, staging, or prod/production
HTTPS=true WSS=true npm start | cat
https://localhost:3000
Use these options in setupProxy.js (with http-proxy-middleware)
secure: false, // without this we get [HPM] Error occurred while trying to proxy request /login?use-proxy=1 from localhost:3005 to https://qa.site.com (ERR_TLS_CERT_ALTNAME_INVALID) (https://nodejs.org/api/errors.html#errors_common_system_errors) and 500 in chrome ?use-proxy xhr
changeOrigin: true,
logLevel: 'debug',
preserveHeaderKeyCase: true,
target: 'https://qa.site.com',
ws: true,
// cookieDomainRewrite: ourLocalhostHostname,
onProxyReq: function relayRequestHeaders(proxyReq, req) {
Object.keys(req.headers).forEach(function (key) {
proxyReq.setHeader(key, req.headers[key]);
});
},
onProxyRes: function relayResponseHeaders(proxyRes, req, res) {
Object.keys(proxyRes.headers).forEach(function (key) {
res.append(key, proxyRes.headers[key]);
});
},
If you want to use charles proxy to observe the requests - see this: http://marianna.im/tech/capture-nodejs-traffic-with-charles/
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.