Skip to content

Commit

Permalink
Run prettier to fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills committed Nov 3, 2023
1 parent 70f6ebc commit c095811
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Learning outcomes:
> - Teamwork/separation of roles
> - Performance
- The fact that in reality, the separation is not always clear

> **Notes:**
>
> - A prime example is the case of using JavaScript to dynamically update CSS styling on-the-fly in response to app state changes, user choices, etc.
>
> - Often this is done by modifying the `Element.style.x` properties, which results in inline CSS being injected into HTML. A better strategy is to add/change classes on elements to avoid inline CSS.
>
> - Much more severe is the case of JavaScript frameworks that use various HTML-in-JavaScript or CSS-in-JavaScript custom syntax, which results in a lot of mixing of syntax types.
- The fact that in reality, the separation is not always clear

> **Notes:**
>
> - A prime example is the case of using JavaScript to dynamically update CSS styling on-the-fly in response to app state changes, user choices, etc.
>
> - Often this is done by modifying the `Element.style.x` properties, which results in inline CSS being injected into HTML. A better strategy is to add/change classes on elements to avoid inline CSS.
>
> - Much more severe is the case of JavaScript frameworks that use various HTML-in-JavaScript or CSS-in-JavaScript custom syntax, which results in a lot of mixing of syntax types.
- The nature of this separation as an ideal to aim for where possible, rather than an absolute

Expand Down
10 changes: 5 additions & 5 deletions curriculum/3-extensions/3-web-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ Learning outcomes:
>
> - IndexedDB and Service Workers are complex, and constitute huge topics. It is not expected that students would exhaustively understand them at this stage, although we would suggest that students gain an understanding of the basics behind how they work.
- IndexedDB
- IndexedDB

- Complete client-side transactional database system.
- Complete client-side transactional database system.

- Specialized, and rarely used directly. You'd be more likely to use a library such as [dexie.js](https://dexie.org/).
- Specialized, and rarely used directly. You'd be more likely to use a library such as [dexie.js](https://dexie.org/).

- Service Workers/Cache
- Service Workers/Cache

- Understand the basic ideas behind their usage in Progressive Web Apps (PWAs), and the fundamental use case of making a site work offline.
- Understand the basic ideas behind their usage in Progressive Web Apps (PWAs), and the fundamental use case of making a site work offline.

Resources:

Expand Down

0 comments on commit c095811

Please sign in to comment.