The Angular team has provided a quick command to implement the so-called PWA app. Now, however, the classic ng serve command does not activate the potential of this type of app.One way to activate service workers is to use an alternative local web server that simulates a real online web […]
Obscure sensible data – Javascript
Something we can have the request to obscure sensible data for hiding purposes of information.Pay attention that this is not a security prone method to hide sensible informations because someone can search on network requests and response and find what you’re trying to hide. We should do a true shadowing […]
How to return a GET response from POST with json-server
What I’m going to say is a bad idea. Sometimes it may be necessary to force the hand a little for not quite standard requests. This is the case when a BE, when faced with a request with the POST/PUT/DELETE method, returns an answer that would be more appropriate for […]
Styling select dropdowns with custom CSS and appearance
While the native <select> element offers functionality, its default css styling select appearance often falls short of design aspirations. This article empowers you to create beautiful and customizable select dropdowns using CSS and explores the potential (and limitations) of the appearance property. The native options: limitations and possibilities The default […]
How to fix CORB warning on OPTIONS request
If you see this annoying warning on the Console when you have finally implemented your “perfect” authentication system, you are not the only one: Perhaps using an interceptor, which I’ll explain to you on other occasions. The reason is the method of an OPTIONS request for preliminary verification, to perform […]