Socket
Socket
Sign inDemoInstall

proto-autos-wc

Package Overview
Dependencies
131
Maintainers
1
Versions
837
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    proto-autos-wc

prototype - a simple GraphQL demo rendered in Stencil and Tailwind


Version published
Weekly downloads
548
increased by40.87%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

proto-autos-wc

npm-version

a prototype GraphQL app written in Stencil and Tailwind, backed by a GraphQL server (Forza Horizon 5 car list) and deployed via NPM and Vercel...

To run this locally:

  1. yarn
  2. yarn dev

features

  • on the initial run, it makes a GraphQL query to a server on Vercel
  • when data loads, the data is saved in both the localStorage and the internal store
  • the app remembers your selection in the toolbar
  • refreshing the page, loads data from localStorage
  • clicking the refresh icon will fetch a new query
  • all of the vehicle make icons are lazy loaded from a proto-ikon-loader web component
  • these icons are loaded using dynamic tags in JSX
  • most of the styling is done thru Tailwind CSS
  • the referenced Tailwind class definitions are injected into the component roots at build time
  • the app scores 100 across the board in Lighthouse

references

FAQs

Last updated on 23 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc