No video

How to Implement Browser Notifications in React and Next.js | Next.js Tutorial | Bug Ninza

  Рет қаралды 6,272

Bug Ninza

Bug Ninza

10 ай бұрын

In this video, you will learn how to implement browser notifications in React and Next.js applications using the Notification API. Browser notifications are a great way to engage your users and keep them updated with your web app. You will see how to create a simple React component that displays a notification when the user clicks a button. You will also learn how to check the browser support and the user permission for notifications, and how to customize the notification options.
Next.js provides features such as server-side rendering, static site generation, code splitting, routing, and more. If you want to learn more about Next.js, make sure to subscribe to my channel and hit the bell icon to get notified of new videos.
𝐁𝐨𝐨𝐤 ( 𝐅𝐫𝐨𝐦 𝐂𝐨𝐝𝐞 𝐓𝐨 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬: 𝐀 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐞𝐫’𝐬 𝐠𝐮𝐢𝐝𝐞 𝐭𝐨 𝐛𝐮𝐢𝐥𝐝𝐢𝐧𝐠 𝐚 𝐬𝐨𝐜𝐢𝐚𝐥 𝐜𝐚𝐫𝐞𝐞𝐫 ) (I'm the Author)
Amazon India: amzn.eu/d/axYh0B4
Amazon Worldwide: a.co/d/acqJOYR
Gumroad (pdf): ninza7.gumroad...
Join this channel to get access to perks and code :
/ @bugninza
Support My work
/ _ninza7
Connect with me:
Instagram: / _ninza7
Discord Server: / discord
Twitter: / _ninza7
Website: ninza7.me
Video widgets edited by: / kaushal_2319
Music Source: KZbin Music Library
Thanks for watching, and I'll see you in the next Next.js video!
Tags:
next.js, react, browser notifications, notification api, web development, javascript, next js tutorial, react tutorial
#reactnative #javascript #webdevelopment #reactjs #nextjstutorial #nextjs #code #coding #guide

Пікірлер: 20
@raymondmichael4987
@raymondmichael4987 3 ай бұрын
You nailed it, brother. Thanks, I've been thinking about this. Thanks a lot 😊
@AmitGhosh-we1eu
@AmitGhosh-we1eu 3 ай бұрын
Cool....It is working.. But I want to show the notication at the right bottom corner of the screen, have you add any css for it. how to add css in this case.
@nishankyadav6051
@nishankyadav6051 2 ай бұрын
Hi...I am not able to execute this.. Cn you please provide the github repo link. Thanks
@eachblock.agency
@eachblock.agency 6 ай бұрын
What's inside the notification file, because after following the video the code isn't working...
@bestexplainer4831
@bestexplainer4831 4 ай бұрын
Yes Bhai it's not working
@pranshubasak8796
@pranshubasak8796 4 ай бұрын
Hi can i get a git repo for this, I am facing a trouble that is , website while loading does not ask for permission why is it happening , I just can't fiqure out , it is not creating a alert like dialog for notification permission but instead I need to do it on my own to show notification
@BugNinza
@BugNinza 4 ай бұрын
It's just a basic demonstration of how the browser notification works. You have to customize it according to your project requirement
@pranshubasak8796
@pranshubasak8796 4 ай бұрын
This is really helpful , specially for an interview purpose
@user-go5yr6te4r
@user-go5yr6te4r 4 ай бұрын
not working on safari and ios devices.
@anowarulhassan5117
@anowarulhassan5117 8 ай бұрын
But there is a catch. Why a user will click a button to get notification. Please make a video on the following Condation, with a MERN webapp, whenever a admin post a new data, user should get that data to their notification even the browser is closed from mongodb database...
@BugNinza
@BugNinza 8 ай бұрын
Noted!!
@anowarulhassan5117
@anowarulhassan5117 8 ай бұрын
@@BugNinza thanks and I will wait for that ❤
@agimalma5321
@agimalma5321 10 ай бұрын
sir what the code inside notification file ?
@BugNinza
@BugNinza 10 ай бұрын
Browser notification
@buntyswain
@buntyswain 9 ай бұрын
But what is the code,git hub link ?@@BugNinza
@anuragmohantyiiitb7496
@anuragmohantyiiitb7496 4 ай бұрын
Bro you didnt showed the code in notifications.js file ?
@BugNinza
@BugNinza 4 ай бұрын
Coz that's a dummy file. Nothing in that
@pranshubasak8796
@pranshubasak8796 4 ай бұрын
Nah this does not work in mobile browser , Waste of time , sevice work is the only option
@BugNinza
@BugNinza 4 ай бұрын
It works everywhere, DM me and I will send you screenshot. Maybe you are Committing some mistake
@pranshubasak8796
@pranshubasak8796 4 ай бұрын
@@BugNinza can u share ur git repo
Webpack 5 Full Course (Babel, PostCSS, npx, Node.js & npm)
1:28:22
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 36 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 14 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 46 МЛН
React Form Validations ( with YUP ) - Full Tutorial 2024 🔥🔥
34:14
Push Notifications with Service worker
14:15
Akilesh Rao
Рет қаралды 30 М.
Next 14 + React Query COMBO with Server Actions and RSC
9:49
developedbyed
Рет қаралды 99 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 563 М.
How To Master React In 2024 (Complete Roadmap)
13:30
Harkirat Singh
Рет қаралды 185 М.
How To Send Push Notifications With JavaScript
11:38
Web Dev Simplified
Рет қаралды 337 М.
Next js 15 is Here… New Changes Again?!
8:13
JavaScript Mastery
Рет қаралды 142 М.
Don't Make These Next.js Mistakes
13:01
Dave Gray
Рет қаралды 22 М.
Implementing a Notification System in a Next.js/Nest.js application
13:09
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 36 МЛН