Github user finder and note taker application build with React
Project based on tutorial from egghead
Github user finder and note taker application build with React
ReactFire module bounds FireBase database to our Components state. If our component state changes, it will automatically update the databse
Because I couldn't find solution atm I am changing the ES6 into ES5 for this component (Profile.js)
After changes I got this error:
Start react-router
What is IndexRoutes - here - specify children routes, if a component doesn't match any path
You don't need to define your children components in the parent to render.
class App...
render () {
return (
<SomeComponent />
)
}
in your main.js /routes
<Route path='/' component={App}>
<IndexRoute component={SomeComponent} />
</Route>
Then in your App,js
class App...
render () {
return (
<div>
{this.props.children}
</div>
)
}
Creating children components of Profile.js as stateless components (basic).
Steps:
- npm init
- npm install react --save // you can install specific version like [email protected]
- npm install react-dom --save // you can install specific version like [email protected]
//install dev dependencies
// babel is compiler which will translate es6 to es5 so the browser can read it
- npm install --save-dev babel-loader babel-core babel-preset-es2015 babel-preset-react
- install babel-preset-stage-0 --save-dev
- npm install webpack webpack-dev-server --save-dev
- npm install eslint-plugin-react --save-dev
//you can isntall webpack as global so you wont have to do previous step
// like npm install webpack -g
Define presets in .babelrc
Define object in webpack.config.js
Define .eslintrc
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.