User Tools

Site Tools


node:node

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
node:node [2023/05/07 18:03] – [Terminology] utedassnode:node [2024/08/19 10:24] (current) – [Getting started] utedass
Line 7: Line 7:
 | JSX | HTML-style coding in JS | | JSX | HTML-style coding in JS |
 | fastify | Node framework for backend | | fastify | Node framework for backend |
 +| HMR | Hot Module Replacement, reloads page on save using websocks or something | 
 +| Routing | Moving user to different pages |
 ===== Libraries and frameworks ===== ===== Libraries and frameworks =====
  
Line 22: Line 23:
 | Prettier - Code formatter  | For formatting on save, needs some setup to work | | Prettier - Code formatter  | For formatting on save, needs some setup to work |
 | ES7+ React/Redux/React-Native snippets | Nice snippets for react, for example rfce | | ES7+ React/Redux/React-Native snippets | Nice snippets for react, for example rfce |
 +| indent-rainbow | Easier to read indents |
  
 ^ Hotkey ^ Description ^ ^ Hotkey ^ Description ^
 +| c-d | Find similar word and enter multi-cursor edit mode, press multiple times |
 |  |  | |  |  |
 |  |  | |  |  |
-  |+ 
 +===== Resources ===== 
 + 
 +^ Link ^ Description ^ 
 +[[https://react.dev]] React docs | 
 +| [[http://jsonplaceholder.typicode.com/]] | Fake API for testing calls |
 ===== Getting started ===== ===== Getting started =====
 +
 +<code bash>
 +npm create vite@latest
 +</code>
 +Follow the guide. Pick for example react with JavaScript + SWC
 +
 +Then run
 +<code bash>
 +cd proj-dir
 +npm install
 +npm run dev
 +</code>
 +
 +===== Getting started  -- OLD =====
  
 <code bash> <code bash>
node/node.1683482639.txt.gz · Last modified: 2023/05/07 18:03 by utedass

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki