Skip to content

Instantly share code, notes, and snippets.

## Server-Sider Rendering
#### Web Applications / Websites
- Client-Side Rendering (**`CSR`**)
- Server-Side Rendering (**`SSR`**)
#### Client-Side Rendered apps
https://reacttraining.com/blog/blog-claps-and-lessons-on-hooks/
function BlogClaps({ slug }) {
const [loading, setLoading] = useState(true)
const [claps, setClaps] = useState(0)
const [queueClaps, setQueueClaps] = useState(0)
useEffect(() => {
// When the component loads, get the current clap count
getBlogPostClaps(slug).then(claps => {
setLoading(false)
= Nonrelational database stystems =
* hierarchical database stystems
* network database ssystem
= Relational model =
1970 Codd proposed that data be represented as sets of tables
Each table in a relational database includes information
that uniquely identifies a row in that table - known as primary key

Styleguide

Buttons

Primary orange color buttons $new_orange: #f68b1f

 class="button button--new-orange"

new-orange