Ruby, Rails, Javascript
GitHub | labels: wsc2019, good first issue | Website
dev.to is where programmers share ideas and help each other grow. It is an online community for sharing and discovering great ideas, having debates, and making friends.
| // connect() is a function that injects Redux-related props into your component. | |
| // You can inject data and callbacks that change that data by dispatching actions. | |
| function connect(mapStateToProps, mapDispatchToProps) { | |
| // It lets us inject component as the last step so people can use it as a decorator. | |
| // Generally you don't need to worry about it. | |
| return function (WrappedComponent) { | |
| // It returns a component | |
| return class extends React.Component { | |
| render() { | |
| return ( |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
| Working with DOM | Working with JS | Working With Functions |
|---|---|---|
| Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
| Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
| Create DOM Elements | Conditionals |
| // ==UserScript== | |
| // @name Auto Check-In to Southwest Flights | |
| // @namespace http://www.ryanizzo.com/southwest-auto-check-in/ | |
| // @version 1.8 | |
| // @author Nicholas Buroojy (http://userscripts.org/users/83813) | |
| // @contributor Ryan Izzo (http://www.ryanizzo.com) | |
| // @contributor JR Hehnly (http://www.okstorms.com @stormchasing) | |
| // @contributor Trevor McClellan (github.com/trevormcclellan) | |
| // @description Automatically check in to Southwest Airline flights at the appropriate time. | |
| // @include https://www.southwest.com/air/check-in/index.html* |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.