- You need to have the latest version of Node. Preferably, you're using 9.8.0, but the latest LTS should work as well.
- You should have
npx
installed usingnpm install -g npx
. - Install the React Developer Tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How would I execute some code each element in a collection? | |
Loop in JS | |
each loop in Ruby | |
Convention over configuration: | |
Also know as coding by convention | |
decrease the number of decisions a developer has to make | |
Common in Ruby on Rails | |
Example - if there is a table called “sales” the database is also called “sales” |
Stands for REpresentational State Transfer Most APIs use restful architecture for retrieving data from them. They use HTTP requests, and so can have GET, POST, PUT, DELETE requests made to them. Are made when requesting a webpage, as well as in AJAX requests after page load to retrieve informatino from servers Provides structure and consistency when talking to lots of different servers.
Nil is an object class, while Empty is a property of an object that contains nothing within ruby. Empty can only be used to return a boolean, whereas things can be set as nil.