In React, we have already seen the API request handling in a class component. The class component is the old approach in React JS. After releasing React 16.8, we are accustomed to the functional component. The functional component helps in writing a more cleaned-up code than the class component. In React posts, I have already shared […]
Login and Registration Authentication in Codeigniter 4
The authentication system in any application is the main security feature. If you don’t want to give the open-access of your application to the user then it will require to have a lock. Here the authentication will work as an access key for that lock. At the application level, the user will need to enter […]
How to Use Effect Hook in React Functional Component
The React hooks are a very powerful feature that allows us to hook into the React functionality. It is a JavaScript function that can be used or called inside the React functional component. You cannot use a hook inside the custom function in the component. So, it is necessary to call the hook function at […]
State in Functional Component in React Using useState Hook
The state is a kind of instance of the React component class. It can be used to hold information about the component. The data can be changed in the component over time. It is an updatable structure that can be updated while values are changed. Firstly, the state was used with the class component in […]
How to Create Custom Password Reset Link in Laravel 8
Whenever you create login and signup functionality for user authentication, you require a password reset option. This password reset link will help when the users forgot their password. In the reset link, there will be generally a token and that token needs to validate. In Laravel, there are default auth scaffolding like UI auth, Breeze […]
Encrypt Form Data in JavaScript Before Sending to Server
While submitting the form data from the client-side to the server-side the data is visible in the network tab. For the development end, there is nothing to worry about it. But when you are in production mode, you always think about the security things. Obviously, it is thinkable because data is a big asset nowadays. […]
How to Create Loading Spinner Using Bootstrap in React JS
Generally, an API takes time to return the response. It depends upon the server configuration and the data size. While fetching the data through API the screen goes blank until the response shows. It is not a good user experience for real-world applications. There can be possibilities that the user will change the screen or […]
Pass Data to Master Layout By Service Provider in Laravel 8
In Laravel, it is easy to break down the layouts into different sub layouts. It is a good approach to have a sub layout for a large view. Laravel supports the master layout concept. The master layout works as a placeholder where you can load different sub layouts. Also, you can pass data from different […]
Redirect HTTP to HTTPS Using Middleware in Laravel 8
After the development of any application, it needs to be hosted on the server. After uploading and configuration of the application, you will be able to access your website through a URL. You also need an SSL certificate to secure the domain URL. But, after installing the SSL certificate the site doesn’t redirect from HTTP […]
File Upload in React JS Using Laravel 8 RESTful API
To upload the file you always need a server-side application. The file will be uploaded to the server-side and its name will be stored in the database. At the client-side application, you required the file that will be sent to the server-side using the API. You can implement File upload in React JS. For the […]
- « Previous Page
- 1
- …
- 9
- 10
- 11
- 12
- 13
- …
- 22
- Next Page »