Últimamente he estado trabajando demasiado en desarrollo móvil, me ha solicitado demasiados trabajos ya sea a corto o largo plazo corrigiendo ciertas pantallas e implementando diseños específicos.
Entre todo este trabajo últimamente por ahí no tengo tiempo para estar subiendo artículos en la comunidad pero está bueno compartir algunas cosas que voy aplicando dentro de los proyectos que me encarga y una de ellas es cómo obtener el nombre de las rutas dentro de una aplicación móvil.
Para este caso utilizo react native y cuál utiliza un sistema de rutas que hace referencia al nombre de las carpetas y el archivo que contiene. Este sistema de rutas es súper práctico sencillo utilizar y eficiente.
Lately I have been working too much in mobile development, I have been asked for too many jobs either short or long term fixing certain screens and implementing specific designs. Between all this work lately I don't have time to upload articles in the community but it is good to share some things that I am applying within the projects that I am in charge of and one of them is how to obtain the name of the routes within a mobile application. For this case I use react native and which uses a path system that refers to the name of the folders and the file it contains. This route system is super practical, easy to use and efficient.
The great advantage of using this framework is that many methods or functions are quite intuitive and do not require too many configurations or verifying that your application is working in real time or post-execution.
In order not to go off the beaten track, obtaining the name of the route is relatively simple, all you need to do is import a native method from the route system that this framework brings and simply save the execution of that method within a variable.
It should be noted that it does not require this to be executed after the first screen load because it is executed at the same time as the screen loads which creates an incredibly high ease if one wants to make aesthetic changes to the navigation bars depending on the screen on which the user is located.


Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!
Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).
You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.