How to install metal screen
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
const todo = (state = {}, action) => { | |
switch (action.type) { | |
case 'ADD_TODO': | |
return { | |
id: action.id, | |
text: action.text, | |
completed: false | |
}; | |
case 'TOGGLE_TODO': | |
if (state.id !== action.id) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script | |
src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.6.0/redux.js"> | |
</script> | |
<script src="https://fb.me/react-0.14.0.js"></script> |
XXX
Error seen in IntelliJ
@Override is not allowed when implementing interface
Diamond types are not supported at this language level
File --> Project Structure --> Modules --> Sources
Change the Language level
to 8 - Lambdas
Incorrect JDK version for the project
Add this in the pom.xml
[Download Kafka] (https://www.apache.org/dyn/closer.cgi?path=/kafka/0.10.0.0/kafka_2.10-0.10.0.0.tgz)
> tar xzf kafka-<VERSION>.tgz
> cd kafka-<VERSION>
> sbt update
> sbt package
Start single node zookeeper instance
NewerOlder