Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tictactoe

A simple tic-tac-toe game to play in the browser, play here

Itroduction


The idea for this project came from The Odin Project, although the original idea was to make a project that used pure Javascript, HTML and CSS, I wanted to practice using REACT.


Tech Stack


In this project the next technologies were used: React, React libraries (gh-pages), Git (with Github), Ubuntu Linux operating system, VSCode, Javascript and CSS3.



Objectives


The next objectives were accomplished in this project:

  1. Understand the basic principles of react using the create-react-app with npx
  2. Know the difference between stateful and stateless components
  3. Pass props through components
  4. Apply event listeners
  5. Mutate state using this.setState()
  6. Render components conditionally using if statements or ternary expressions
  7. Render components dynamically using array.map()
  8. Stylish components with in-line styles, CSS Modules, as well as applying conditional styles

What did I learn?


I consider that I understand the basics of React and its advantages over making webapps using only JS, HTML and CSS; i.e. the rendering of components in the webpage is way easier using react, because we avoid direct DOM manipulation, besides that, React facilitates the data flow in the webpage creating a "state" (typically in one main component) which is like a central "database" that helps to make debugging easier and avoid unexpected results. [*Note:I haven't learn using Redux with React yet]

About

Interactive multiplayer or single player tic tac toe game, using the React framework.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages