User Tools

Site Tools


simon_space:frontend_dev

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
simon_space:frontend_dev [2023/08/05 17:02] loquisimon_space:frontend_dev [2023/08/06 18:59] (current) – [Other] loqui
Line 3: Line 3:
   * electron-react-boilerplate   * electron-react-boilerplate
     * https://github.com/electron-react-boilerplate/electron-react-boilerplate     * https://github.com/electron-react-boilerplate/electron-react-boilerplate
 +    * https://electron-react-boilerplate.js.org/docs/installation
     * Uses TypeScript :tada:     * Uses TypeScript :tada:
 +    * Build an Electron app with TypeScript and React
 +      * https://www.codiga.io/blog/build-electron-typescript-react-app/
  
 ===== React ===== ===== React =====
Line 9: Line 12:
   * Course   * Course
     * https://courses.joshwcomeau.com/joy-of-react/     * https://courses.joshwcomeau.com/joy-of-react/
-    Tools +  Core Loop 
-      * https://courses.joshwcomeau.com/joy-of-react/11-tools-of-the-trade+    * https://courses.joshwcomeau.com/joy-of-react/02-state/03.01-core-react-loop 
 +    * Mount 
 +      * First load 
 +      * Happens once 
 +      * Leads to Trigger 
 +    * Trigger 
 +      * Something happens 
 +      * Leads to Render 
 +    * Render 
 +      * Build the virtual DOM 
 +      * Reconcile with the existing DOM to see if any changes are needed 
 +      * Leads to Commit 
 +    * Commit 
 +      * Change the DOM if necessary, causing browser to re-paint the page 
 +      * React goes idle after this until something happens that sends it back to Trigger 
 +  * Tools 
 +    * https://courses.joshwcomeau.com/joy-of-react/11-tools-of-the-trade 
 + 
 +  * Event Pooling was removed in React 17 
 +    * https://github.com/facebook/react/pull/18216 
 +  * State as a Snapshot 
 +    * https://react.dev/learn/state-as-a-snapshot
  
 ==== Notes ==== ==== Notes ====
Line 35: Line 59:
   * Installation   * Installation
     * https://electron-react-boilerplate.js.org/docs/installation     * https://electron-react-boilerplate.js.org/docs/installation
 +  * Tutorial
 +    * https://www.electronjs.org/docs/latest/tutorial/tutorial-first-app
 +  * Electron does NOT support EcmaScript Modules
 +    * https://github.com/electron/electron/issues/21457
 +  * How to Notarize/Sign a macOS app
 +    * https://www.codiga.io/blog/notarize-sign-electron-app/
  
 ===== TypeScript ===== ===== TypeScript =====
Line 42: Line 72:
     * https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html     * https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html
     * https://www.typescriptlang.org/docs/handbook/2/basic-types.html     * https://www.typescriptlang.org/docs/handbook/2/basic-types.html
 +
 +===== Other =====
 +
 +  * Prettier is the new standard JavaScript formatter
 +    * https://prettier.io/docs/en/install
 +  * Svelte is a competitor to React
 +    * https://svelte.dev/
 +    * Uses its own language that observes values directly instead of using hooks like useState
 +
simon_space/frontend_dev.1691254936.txt.gz · Last modified: by loqui