Primary orange color buttons $new_orange: #f68b1f
class="button button--new-orange"| local M = {} | |
| function M.run_command() | |
| local Job = require("plenary.job") | |
| -- Define spinner sequence | |
| local spinner = { "⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷" } | |
| local spinner_idx = 1 | |
| local running_count = 0 |
| ## 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 |