#webdevelopment

fla@diaspora-fr.org

When you're new to a development stack (here, NextJS for me), it's not easy to know which libraries to use.
This article explains the process quite well, using the internationalization example, but that's true for almost every use case:
https://dev.to/arsenii/how-to-choose-an-i18n-library-for-a-nextjs-14-application-part-1-5hjp

#webdevelopment #nextjs #react #libraries

hypolite@friendica.mrpetovan.com

Niche mobile web development question

In #Friendica we have a couple links which click event is captured by a listener.

On desktop browsers, this works as expected and the underlying href attribute is ignored (unless clicked with the middle mouse button, which is expected).

On the #iOS #Safari app, this also works as expected. However, when I add Friendica as a home screen app, a click on these links triggers both the event listener and navigates to the href URL.

Does anyone know why web views behave differently and/or how to prevent the double action specifically in this context?

Please reshare/boost for reach!

#WebDevelopment #MobileWeb