Have you ever noticed, the datatable renders only visible rows in the DOM? That means if you have any events triggering inside the datatable rows, it will work for the visible pages only. The reason is whatever is rendered on the first page will be added to the DOM tree. If you try to submit […]
How to Implement Repository Design Pattern in Laravel 9
When you have large projects then managing the code structure, and files inside the project become a tedious job. Sometimes due to an unorganized way the code goes mesh and complicated. To overcome these kinds of issues we can follow a design pattern. A design pattern is an advanced approach for organizing the code structure. […]
How to Create a Zip File of Any Files and Download in Laravel 9
You can make a bundle of any files and convert them into a zip file. Laravel provides the flexibility to create a zip file. This will make it convenient for us to download more than one file together in a combined way. Either you can download multiple files one by one by clicking on the […]
How to Use Group Routes For the Same Controller in Laravel 9
When you are creating any web application in Laravel, you needed more than one route. These routes will redirect the request to the specific function. Mostly, these functions are landed in a controller. When you have multiple routes which are linked with the same controller then you call that controller name again and again. But […]
How to Clear Application Cache without Command Line in Laravel
Laravel provides a different way to clear the cache of the application. No matter whether it is configuration cache, view cache, route cache, etc. While working in the localhost, it will be easy to clear these all cache through the artisan command. You can clear all these caches separately through their individual command. Also, you […]
Logout Multiple Auth Session From Other Devices in Laravel 9
While creating an authentication app, we needed to invalidate other browser sessions. This is required when you change the login password of your account. You want to invalidate all other sessions so that next time it will ask for the new password while login the application. This is good actually for security reasons as well. […]
Laravel Mailgun Integration For Sending Email in Laravel 9
Laravel comes up with the customization and integration of third-party libraries. These libraries make the applications more featured. If I will talk about the email service, then Laravel already provides the SwiftMailer library for sending emails. The best thing is this library supports lots of drivers for email configurations. You can configure it with any […]
How to Use Location Hook in React Router DOM V6
Like other React hooks, React Router DOM provides a hook for handling the URL data in the component. This hook is known as useLocation hook. The useLocation hook returns the location object from the current URL. The URL may contain different segments, parameters, query strings, etc. Therefore, by using this location object, it allows us […]
Redirect to Component with Props Using useNavigate Hook
React Router V6 provides lots of features that make development easier. In this post, I will discuss about the React useNavigate hook. This hook is used to redirect from one component to another or one link to another. The exciting part is, that you can pass values by redirecting from component to component. The value […]
How to Create Todo App in React JS Using Redux
Redux provides flexibility to manage the state at the application level. We have already seen the basic implementation of Redux in React Js. Once, you create the state using Redux, it can be used in any of your components in the entire app. Today, by using Redux, we will create a React Todo App. But […]
- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 22
- Next Page »