workbox
React
Our great sponsors
workbox | React | |
---|---|---|
31 | 1678 | |
12,036 | 220,379 | |
0.7% | 1.2% | |
3.9 | 9.8 | |
12 days ago | 7 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
workbox
-
A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2)
We use the Workbox library and its utilities as a foundation for our service worker.
- New React docs pretend SPAs don't exist anymore
-
[AskJS] technology stack for PWA, ServiceWorker and offline first web app?
Start from the https://github.com/GoogleChrome/workbox
-
Vite in the browser
Here is an example using workbox.
-
Part 2/2 - Game in ReactJS - Cuzzle
Create React App (CRA): This is a library that I have used previously for other games/projects, this is an easy starting point for a react project because we have all our environment configured, for example, we have webpack, hot reloading, service workers (via workbox) and other features ready to be used, for this type of project I think is the best way to learn React.
-
Introduction to workers and why we should use them
Here I would like to recommend using Workbox, which will largely simplify the setups and apply different strategies easily.
-
React PWA with Workbox
There are many approaches to handling requests with a service worker but the easiest way is Google's Workbox and the easiest way to get Workbox into a React app is to just use the PWA template that create-react-app provides. I was able to make an existing React app into a PWA simply by copying /src into a freshly spun CRA PWA-template but you can also get your bundle into Workbox other ways. It's just trickier.
- Are modern front-ends ethical?
-
I created an online multiplayer game and Progressive Web App for ultimate tic-tac-toe using TypeScript, React, and Socket.IO [GitHub and write-up in the comments]
PWAs are simpler to set up than I expected. Workbox does a ton of work for you in providing sane defaults and patterns that work with your build tools (Webpack in this case). I also made use of CRA's service-worker and registerServiceWorker files from their PWA template. Handling app updates was fairly simple to implement using a common pattern (search for updateServiceWorker in the code to see).
-
Introduction to Progressive Web Applications – Part 2
Workbox
React
-
Building a Fast, Efficient Web App: The Technology Stack of PromptSmithy Explained
We all know what React is at this point, but why use it with Vite and React Router DOM over something like NextJS?
-
Introduction to JavaScript: Empowering Web Development with Interactivity
Frameworks and Libraries: There are numerous JavaScript frameworks and libraries, such as React, Angular, and Vue.js, which simplify the development of complex web applications.
-
Full Stack Web Development Concept map
Javascript in the browser React - react is a library that gives developers an application programming interface (API) to manipulate the DOM (this is React's ReactDOM package). React uses components and JSX to make building reusable code easier. docs JSX - is a syntax extension for React Javascript code that lets you write HTML-like markup in a javascript file. This makes it easier to write reusable HTML. docs State - a key react concept that guides setting and storage of data between renders. docs Hooks - a key react concept for logic triggered by state change docs Vue - is a framework for building web interfaces. Vue is lightweight and best for small projects prioritizing speed over functionality. doc Angular - web development framework. Angular is best for dynamic more feature rich sites. docs
-
Gatsby tutorial: Build a static site with a headless CMS
A Gatsby site uses Gatsby, which leverages React and GraphQL to create fast and optimized web experiences. Gatsby is often used for building static websites, progressive web apps (PWAs), and even full-blown dynamic web applications.
-
Build a simple E-commerce PIM with Next.js, Prisma, and Neon
Basic knowledge of React and Next.js
-
Build Your Own Uptime Monitor with MeteorJS + Fetch + Plotly.js ☄️🔭
React as our frontend library
-
Tailwind CSS v4.0.0 Alpha
> React is a competing frontend framework (which is now moving to adopt a Svelte-like compiled approach)
React has been moving in the direction of a compiled approach for over seven years now[1], predating Svelte’s first release. The introduction of hooks in 2018 grew out of early efforts on an optimizing compiler. Those earlier efforts were hampered by class semantics making things like constant folding across components difficult. React Forget seems like a predictable progression from there.
-
Unlocking the frontend – a call for standardizing component APIs pt.2
Meanwhile, web standards seem to rapidly catch up… with native nesting and @layer in CSS and, to name just two great features we’ve won on that front lately, web components getting Declarative Shadow Dom, the Design Token standard rapidly approaching, React finally merging web component compatibility for React 19 it seems, the list goes on.
-
Learning Elm by porting a medium-sized web front end from React (2019)
What story does that tell?
React's would say 2022 - https://github.com/facebook/react/releases
There's engineering effort happening behind the scenes on both projects, the releases have slowed, and big changes are coming to both Elm and React.
-
Learning Rust: A clean start
A little about me; I'm a web developer and have been for around 5 years, though I'd dabbled for years. I have experience with Perl and PHP but my day to day is JavaScript/TypeScript be it through NodeJS or ReactJS. I want to learn Rust for no specific reason other than it's fun to learn new things.
What are some alternatives?
qwik - Instant-loading web apps, without effort
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
SvelteKit - web development, streamlined
lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
Svelte - Cybernetically enhanced web apps
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]
vite - Next generation frontend tooling. It's fast!
go - The Go programming language