kstover / jammming Goto Github PK
View Code? Open in Web Editor NEWCodeCademy Jammming coursework
License: MIT License
CodeCademy Jammming coursework
License: MIT License
You did a really good job on your project. Looking at your code is seems like the majority is 100% yours and nothing from the answer key. Great job adding extra functionality like searching on enter being hit. I really liked your documentation throughout the entire project. You show clear understanding of React fundamentals like passing props and rendering children. All in all, awesome work!
Awesome job on your Spotify.js file. I like that you used jsDocs to describe what the code was doing. It looks very professional!
In you App.js file you mutate state:
// updatePlaylist fn
playlist = this.state.playlist;
playlist.push( item );
this.setState( { playlist: playlist } );
playlist
is a direct reference and not a new copy of this.state.playlist
. Anything done to playlist will happen to this.state.playlist. Therefore you must do something like:
const playlist = [ ...this.state.playlist ];
const playlist = this.state.playlist.slice();
Either one of these will return a NEW array. When you use the array method filter
that returns a new array so that line is correct (line 68).
Great job adding all of the comments/docs to your code. It looks really good and gives the reader an explanation of what everything does. Very clean!
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.