Skip to content

Commit

Permalink
readme audits
Browse files Browse the repository at this point in the history
Signed-off-by: Silvan Struebi <[email protected]>
  • Loading branch information
Weedshaker committed Jul 21, 2020
1 parent 03267c5 commit c6e06cd
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
Binary file added images/angular.realworld.io.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/conduit-vanilla.herokuapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/react-redux.realworld.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vue-vuex-realworld.netlify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ For more information on how to this works with other frontends/backends, head ov

* **ShadowDOM**'s mostly shine when encapsulating CSS. But the Conduit example has one global CSS Stylesheet and for that reason, it is more efficient to not have shadowDOM's, which all would have to import that global CSS separately. Note: The biggest strength of Web Components is their shadowDOM, means in a real life examples you would share general CSS styles through CSS variables and have specific styles on each component in their respective shadowDOM. This will improve performance, since the DOM renderer only needs to respect certain CSS for certain nodes/shadowDOM's. There is a good helper Class, which you can use to simply add CSS with the lines: ```this.css = '...' ``` and to avoid resetting nodes with innerHTML, it includes a function: ```this.html = '' ```. Overall, this prototype Class helps you to easily and comfortably deal with the ShadowDOM. Have a look at: [Weedshaker's web components *(work in progress)*](https://github.com/Weedshaker/web-components/blob/master/prototypes/MasterShadow.js)

# Lighthouse Audits

## React / Redux (81)
![react-redux.realworld](./images/react-redux.realworld.png)

## Angular (75)
![angular.realworld.io](./images/angular.realworld.io.png)

## Vue (82)
![vue-vuex-realworld.netlify](./images/vue-vuex-realworld.netlify.png)

## Vanilla JS Web Components (92)
![conduit-vanilla.herokuapp](./images/conduit-vanilla.herokuapp.png)

## Event Driven Vanilla JS Web Components (95)
![event-driven-web-components-realworld-example-app](./images/event-driven-web-components-realworld-example-app.png)

# TODO

0. Tests for:
Expand Down

0 comments on commit c6e06cd

Please sign in to comment.