react-learning-course-short
how-to-send-push-notifications-with-firebase-and-react
react-learning-course-short | how-to-send-push-notifications-with-firebase-and-react | |
---|---|---|
2 | 1 | |
142 | 1 | |
- | - | |
4.1 | 0.0 | |
7 months ago | almost 2 years ago | |
HTML | HTML | |
GNU General Public License v3.0 only | - |
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.
react-learning-course-short
-
Free React course for beginners to support Ukraine
The course is open-source, it's posted on [GitHub](https://github.com/Drag13/react-learning-course-short), and here is the example of the [presentation](https://drag13.io/react-learning-course-short/react-intro/#/1). Every day updates posted on my [twitter](https://twitter.com/drag137)
- Free React Course to support Ukraine - completely opensource
how-to-send-push-notifications-with-firebase-and-react
-
How to send push notifications with Firebase and React
import React, { useEffect } from 'react' import Box from '@mui/material/Box' import Button from '@mui/material/Button' import LinearProgress from '@mui/material/LinearProgress' import useFirebaseMessaging from '@useweb/use-firebase-messaging' import CopyToClipboard from '../../lib/components/CopyToClipboard/CopyToClipboard' import Text from '../../lib/components/Text/Text' import Header from '../../lib/components/_unique/Header/Header' import useSnackbar from '../../lib/components/Snackbar/Snackbar' export default function HomePage() { const snackbar = useSnackbar() const firebaseMessaging = useFirebaseMessaging({ onMessage: (message) => { console.log(`Received foreground message`, message) snackbar.show({ message: message?.notification?.title || message?.data?.title, }) }, }) useEffect(() => { firebaseMessaging.init() }, []) return ( {firebaseMessaging.initializing && ( <> )} {firebaseMessaging.error && ( )} {firebaseMessaging.fcmRegistrationToken && ( <> Copy )} ) }
What are some alternatives?
signup-component-react - How to Build SignUp Component in React
learn-to-send-email-via-google-script-html-no-server - :email: An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
uber-clone - How to Build Uber Clone with React
reactjs-master-class - The repository helps you learn React by building Netflix.
env-variables-react - How to Use Environment Variables in React
dad-jokes - Simple Angular App for Dad Jokes: Angular + Progressive web Apps using PWAFIRE
upload-preview-image-react - How to Upload and Preview Image in React
counter-app - How to Build Counter App with React
starter-demo - Simple Vite app for devs to start tutorials
login-component-react - How to Build Login Component in React
gapi-firebase - An example of how to use GAPI and Firebase Auth together to authenticate users and talk to Google APIs.