A description of your game. Background info of the game is a nice touch.
Code a React app to demo Client-Side Route Params & the useParams
hook.
-
Create a new React-based project in StackBlitz.
-
Add
react-router
as a dependency by:
- Shutting down the React development server in the terminal with
[ctrl]
+[c]
- Browse to stackblitz.com and create an account if you don't have one.
- Click [+ New Project]
- Select the "Frontend" tab
- Choose the React (JavaScript) template
- Click the "Vitejs - Vite (forked)" at the top and rename to something like "React State & Styling Exercises"
Python Intro / Control Flow Review Questions:
-
Instead of using code blocks delimited with curly braces, Python uses i_________.
-
The line preceding an indented block of code must end with a _ character.
-
True or False, the number
0
is falsey in both JS & Python? -
True or False, the number
1
is truthy in both JS & Python?
React Fundamental | Summary |
---|---|
React |
|
JSX |
|
Components |
|
User-Defined Component | May be defined as a function or class but must be n |
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
:root { | |
background-color: white; | |
} |
Typically, logged in users interact with an application that results in data being created, updated and deleted.
In almost every case, the application's code will need to ensure that the logged in user can only update/delete data created by them, not the data of other users.