skip to content
Sidequest
User Tools
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
frontend_dev
simon_space:frontend_dev
This is an old revision of the document!
Table of Contents
Frontend Development
React
Notes
Electron
TypeScript
Frontend Development
electron-react-boilerplate
https://github.com/electron-react-boilerplate/electron-react-boilerplate
Uses TypeScript :tada:
React
Course
https://courses.joshwcomeau.com/joy-of-react/
Tools
https://courses.joshwcomeau.com/joy-of-react/11-tools-of-the-trade
Notes
React is typically compiled to turn the JSX components into function calls
It is possible to use React without compiling by calling the functions directly
https://react.dev/reference/react/createElement#creating-an-element-without-jsx
Webpack bundles files together to speed up page load times
Also lets you import
CSS
(or images or whatever) in the same way you would import JS
https://webpack.js.org/loaders/css-loader/
Webpack is typically used in conjunction with compiling React
HTTP/2.0 doesn't replace bundling
https://blog.khanacademy.org/forgo-js-packaging-not-so-fast/
BEM
is a systematic way of naming
CSS
classes
https://en.bem.info/methodology/quick-start/
Done automagically by Webpack (and consequently by React, when compiled)
CSS
uses specificity to decide between multiple styles that have been applied to an element
https://css-tricks.com/specifics-on-css-specificity/
CSS
uses ORDER OF DEFINITION (precedence) to decide between multiple styles WITH EXACTLY THE SAME SPECIFICITY
https://css-tricks.com/precedence-css-order-css-matters/
Electron
Installation
https://electron-react-boilerplate.js.org/docs/installation
TypeScript
Docs
https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html
https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html
https://www.typescriptlang.org/docs/handbook/2/basic-types.html
simon_space/frontend_dev.1691254936.txt.gz
· Last modified:
2023/08/05 17:02
by
loqui
Page Tools
Show pagesource
Old revisions
Backlinks
Rename Page
Back to top