oberonamsterdam / create-react-stack Goto Github PK
View Code? Open in Web Editor NEWA opinionated generator for react projects
A opinionated generator for react projects
Bottomline: automate as much as possible to make this project feasible.
A standard redux reducer should be added once redux is enabled, in the same format as the redux file template included in ide-react-redux
After the react native setup it gives me the following error:
To run your app on iOS:
cd /Users/karendegraaf/projects/createReactStack
react-native run-ios
- or -
Open ios/createReactStack.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
cd /Users/karendegraaf/projects/createReactStack
Have an Android emulator running (quickest way to get started), or a device connected
react-native run-android
create-react-stack ERR! Error: No files match the pattern: /Users/karendegraaf/projects/createReactStack/index.*.js
at glob (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/replace-in-file/lib/replace-in-file.js:173:23)
at f (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/once/once.js:25:25)
at Glob.<anonymous> (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/glob/glob.js:151:7)
at emitOne (events.js:115:13)
at Glob.emit (events.js:210:7)
at Glob._finish (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/glob/glob.js:197:8)
at done (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/glob/glob.js:182:14)
at Glob._processReaddir2 (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/glob/glob.js:408:12)
at /Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/glob/glob.js:371:17
at RES (/Users/karendegraaf/.npm/_npx/53772/lib/node_modules/create-react-stack/node_modules/inflight/inflight.js:31:16)
Meta tags on website projects often get overlooked during development. If asked on creation, it won't be forgotten.
babel-polyfill includes a bunch of stuff you might not need.
with core-js you selectively choose your polyfills, and it is therefore a more suitable choice
We now ship react-router by default once SSR is enabled, preferably the razzle
basic
example would be used, and the default template would be used (which includes react-router) if react-router is needed.
On top of that, with projects bootstrapped with CRA, we'd have to provide our own template which includes a basic react-router setup
questions right now need to defer things like 'are we ejected from CRA' etc from certain answers to certain questions. this is kind of ugly and error prone.
Preferably we'd have a shared state between all questions to store changes that go beyond 'what answer was given'
The options are
Pretty much an essential for working with styled-components:
https://github.com/styled-components/babel-plugin-styled-components
All optional dependencies are installed under dev dependencies
Razzle now has build in eslint support
Ejection check fails
stack:
? Are you building a mobile project? (https://facebook.github.io/react-native/) No
? Use SSR? (server side rendering) No
? Use flow? (http://flow.org) Yes
? Use redux? (http://redux.js.org/) Yes
? Use redux-persist? (https://github.com/rt2zz/redux-persist) Yes
? What ESLint config should to be used? Enter the eslint-config-name react-app
? Use babel-polyfill? (adds IE support) (https://babeljs.io/docs/usage/polyfill/) Yes
? Use styled-components? (http://styled-components.com) Yes
It is now the recommended way to start a project (quickly) in the RN docs.
As CRS doesn't include any native modules, it's probably best to replace the RN CLI with CRNA
Lock
down to a specific (major) version.
File structure changes by these tools are fatal to CRS and will break it.
We'll be responsible for manually updating the used version of the generators.
Because of the way this project works, there are lot of different situations that can possibly break.
That's why this project absolutely needs tests to continue development.
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.