axafrance / react-starter Goto Github PK
View Code? Open in Web Editor NEWReact Starter application using react-toolkit, react-oidc
License: MIT License
React Starter application using react-toolkit, react-oidc
License: MIT License
J'ai regardé un peu ES Lint, et je me demande si un petit tour d'horizon peut etre fait la dessus.
Quels plugin/Regles etc.
Right now you have to guess that in order to use that starter kit, you need to clone it.
It would be great to see steps to get started, and also precisions to remove git metadata if you clone this inside an existing project:
You have an existing repo with your application, with that tree structure:
└── /
├── client/
│ └── frontendapp1
└── server/
├── backend1
└── backend2
You want to start a new project inside /client/frontendapp2. You cannot just clone and change origin. You need to remove the git folder.
One solution is to
git clone --depth=1 --branch=master https://github.com/AxaGuilDEv/react-starter.git frontendapp2
rm -rf ./frontendapp2/.git
depth=1 to avoid copying too much history, then remove the .git folder
The other is to recommend downloading an archive (not great imo)
Also, there is a lot of clutter after clone (all the .MD files). Would be great to have a nice way to get rid of them!
Clone the repository.
First, npm install.
Then, npm start
0.1.0 (current "master" branch)
The application is displayed.
Unable to launch project :
prototype.js:1 Uncaught Error: Cannot find module './locale'
at webpackMissingModule (prototype.js:1)
at Module../node_modules/moment/src/lib/moment/prototype.js (prototype.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../node_modules/moment/src/lib/moment/moment.js (moment.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../node_modules/moment/src/moment.js (moment.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../node_modules/react-datepicker/es/index.js (index.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/@axa-fr/react-toolkit-form-input-date/dist/CustomDate.js (CustomDate.js:23)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/@axa-fr/react-toolkit-form-input-date/dist/DateInput.js (DateInput.js:27)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/@axa-fr/react-toolkit-form-input-date/dist/index.js (index.js:7)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/@axa-fr/react-toolkit-all/dist/index.js (index.js:22)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/layout/Header/Header.js (Header.container.js:9)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/layout/Header/index.js (index.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/layout/App/App.js (index.js:14)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/layout/App/index.js (index.js:1)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Module../src/index.js (reducer.js:16)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (index.js:1)
at webpack_require (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
Avec CRA et Jest 24.9 on est obligé d'ajouter
--env=jest-environment-jsdom-sixteen
Aux tests pour que le waitFor marche sur RTL
CRA 4.0 va sortir avec Jest 26, il faudra supprimer ça à la suite.
Would be great to package a debugging profile in VSCode / IntelliJ
Also, what about tools used in browsers (e.g. Chrome Extensions)
In my mind :
Ici nous pouvons discuter sur ce qui doit être choisi entre testing Library et Enzyme.
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.