#Advantages of Vite JS
Explore tagged Tumblr posts
guzsdaily · 2 years ago
Text
Predicting and programming: enemies for life (part 2)
Day 42 - Dec 17th, 12.023
This is the direct continuation of yesterday's post. I hope that I'm able to continue my daily journals as usual, but there's a strong possibility that one day or another I will not able to post, or need to post after midnight. Also, the entries probably will be shorter or just small updates sometimes even on weekends, but I will try to write them on the morning to be able to have time and brain to do something bigger and with better quality. And some posts I could even need to split into two if I need to stop writing one in the middle, like what's happened yesterday. There's no need to go into details, I don't want to expose my personal life nor of the people around me, I just want to inform that this end of year is not being great to my partner, so I want to be with her as much as I can to help and support her to whatever she needs to.
"A ghostly server"
Like I said in the last part, the application was complaining about not having a server, and the stranger, it was complaining about not having the development server running. This as a production build of the application, the embedded web-app were a static one, a static HTML file, why was it complaining about the server!? I tried searching around the Tauri's GitHub issues, but there was nothing about it, and creating an issue wasn't in my mind at the time because again, I am short in time and couldn't wait for a fix.
So because Tauri wasn't working, and I didn't even want to think about how to fix this problem, I switched back to CapacitorJS. This process was somewhat easy, because both of them are a "wrapper", so I just needed to move the web app part of the application from a template to another, but it was somewhat time-consuming (I'm not so accustomed to Vim and my new file explorer, so navigating was somewhat slower, and like every JavaScript project, just setting it up a template can be time-consuming). But after setting it up, Capacitor compiled, and the app was working as normal without any differences.
Framework hopping
While that was happening, when I started the project, I also wasted a lot of time choosing what framework to use. "Why?" One, JavaScript is an ecosystem that in general can be somewhat overwhelming with choices; Two, I already used SvelteKit for my last application and projects, so this time I wanted something different; Three, I wanted to try something more "native-like".
Web as Native
I started trying to use Framework7, because it has a collection of components and routing that emulates the native-app experience, and most important to me, it had the updated Material Design 3 (Material You) design; with Svelte, my primary UI framework of choice. But it didn't work that well. The routing wasn't how I liked it to be, and Framework7 is a somewhat old framework as it seems (it uses Gulp as its build system and the last commits were a month ago, the project is not that active), it stills a great project, but somewhat difficult to integrate with newer thing like Svelte 4 and Vite. After not being able to, I tried to KonstaUI with Svelte, but ended up with the same results. If you know something about this area of trying to make web apps feel like a native app, you are probably thinking something like "why you didn't use Ionic?", and the main reason is that it stills uses Material Design 2, and personally I like more how the newer version looks. Also, Ionic doesn't have official support for Svelte, and even knowing that the community package is good, I already used it in the past and wanted something new to try.
So, after probably hours, if not a day, trying that, I hopped into another idea. I found something called Beer CSS, a library that creates a Material You look and app using just CSS pretty much, so I could use any framework that I liked! Nonetheless, because it was pure JS and CSS, I thought it would be good to use Astro, so I could also take advantage of its new View Transitions feature, and could use Svelte still for the interactivity blocks. But as you can already tell if you know Astro, it's probably not the best idea to use a static site generator (SSG) as a mobile application framework, however it was working, and I was being able to create something and actually develop the application part of things and not just continue setting up new projects.
Lack of documentation
But then some cracks started to open. Beer CSS's documentation is not the greatest for me, it's mostly code examples and there's pretty much no words about customization and how the CSS words and/or how to manipulate it, and it seems that you really need to follow Material's system and hierarchy to it to work properly. I don't have time for this, and I already wasted 2 to 3 days fighting my way around all of this.
Also, while this was happening, the problem with Tauri also happened, which for some reason also made me switch from Astro to SvelteKit. Why? I don't know really, for me the problem with the server could be related to it, but of course it didn't work, and I had to switch to Capacitor like I said.
Blank screen and broken dreams
And then, another problem appeared out of nowhere, the built app with CapacitorJS started to have a total black screen when I opened it. There were no errors in the console, warnings on the screen, nothing, the app simply stopped working, and I couldn't find anything about it on the issues, and being honest, at this point I had already wasted around a week and couldn't handle it anymore. The idea of not being able to give at least something in time was storming my mind and I ended up wasting another day procrastinating, because I couldn't handle and think of solutions.
I had so many ideas for this app and now everything stopped working, I was exhausted, this was supposed to be something special for my girlfriend, and I don't want to lose the date again, even more now when she's passing difficult times in her life. I need to do and try something.
Compromises
This is where I am right now. I have less than a week to finish this project, and the app itself is way unfinished than I anticipated it would be days ago. So, what we do when this happens? Compromises, I already had in mind that I would create just some features until the date and then update over time, but now it will be just one feature and as an online website for now.
One of the features of this app is an interactive messaging page, to give complements and things like that, but for now I will try to repurpose it to some predefined messages and just express out of my heart to her using it. Do I want to be simple as that? No, but it only what I can do for now, and hopefully I will be able to add more things as time passes, I really want to do something special and specific for my girlfriend. Thankfully, porting it to a native app in the future won't be so hard, and I already have some ideas now on how to fix the past bugs that impossibilitaded me from porting it, however I will try to focus more on the features themselves for now.
Knowing my girlfriend, she will understand, but again, it's more of me to her thing in my mind.
---
Today's artists & creative things
Song: Hello, World - by Louie Zong I don't know why, writing this post just remembered me this music.
---
Copyright (c) 2023-present Gustavo "Guz" L. de Mello <[email protected]>
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License
2 notes · View notes
guptatechweb · 1 month ago
Text
React JS Development: The Ultimate Guide to Building Modern Web Applications
In the rapidly evolving world of web development, building fast, interactive, and scalable applications is no longer optional—it's essential. Among the many technologies available today, React JS development has emerged as a top choice for developers and businesses alike. Created by Facebook, React.js simplifies front-end development while delivering a superior user experience.
Whether you're a business owner exploring tech options or a developer seeking efficient tools, this guide covers everything you need to know about React JS development, its advantages, real-world applications, and why it continues to dominate the front-end ecosystem.
What is React.js?
React.js is an open-source JavaScript library used for building user interfaces—particularly single-page applications (SPAs). It allows developers to create reusable UI components that update in real time as data changes.
Unlike traditional web frameworks that manipulate the DOM (Document Object Model) directly, React uses a virtual DOM to optimize updates, making apps faster and more responsive.
Key Features of React JS Development
1. Component-Based Architecture
React promotes modular development. Instead of building large monolithic pages, developers create reusable components that make development faster and more organized.
2. Virtual DOM for High Performance
React’s virtual DOM efficiently updates only the changed parts of the UI, improving performance and reducing unnecessary re-renders.
3. Unidirectional Data Flow
Data flows in one direction, making application behavior more predictable and easier to debug.
4. JSX Syntax
JSX (JavaScript XML) allows developers to write HTML-like code within JavaScript, making UI code easier to read and maintain.
5. Strong Ecosystem and Community
With millions of developers worldwide and a vast number of open-source tools and libraries, React JS development benefits from a rich ecosystem.
Why Choose React JS Development?
Fast Development
React’s reusable components, efficient rendering, and active community support make development faster and easier.
Scalability
React can scale from a simple web widget to a full-fledged enterprise application with complex UI logic.
Cross-Platform Possibilities
React Native, a framework based on React.js, allows developers to build mobile apps for iOS and Android using the same codebase.
SEO-Friendly SPAs
Using server-side rendering (SSR) with tools like Next.js, React JS development can be optimized for search engines, solving one of SPA’s biggest issues.
Use Cases of React JS Development
React is used by some of the world’s largest companies, including Facebook, Netflix, Airbnb, and Uber. Common use cases include:
Single Page Applications (SPAs)
Dashboards and Admin Panels
E-commerce Frontends
Social Media Platforms
Real-time Chat and Messaging Apps
Interactive Data Visualizations
Tech Stack for React JS Development
React.js often works best when paired with other modern tools:
Frontend: React, Redux, Tailwind CSS, React Router
Backend: Node.js, Express.js
Database: MongoDB, PostgreSQL
Build Tools: Vite, Webpack, Babel
Deployment: Vercel, Netlify, Heroku
Getting Started with React JS Development
To begin your journey with React.js:
Install Node.js (if not already installed)
Create a new React project
Start building components, connecting APIs, and customizing your UI.
There are also advanced setups like Next.js for server-side rendering and static site generation.
Best Practices for React JS Development
Use functional components and Hooks instead of class components.
Keep components small and focused.
Use PropTypes or TypeScript for type checking.
Implement code splitting and lazy loading to improve performance.
Maintain a consistent folder structure and follow naming conventions.
React JS Development Trends in 2025
As of 2025, React.js continues to lead the front-end world due to:
Ongoing performance improvements
The rise of frameworks like Next.js and Remix
Enhanced support for concurrent rendering
Growing adoption in enterprise-level applications
React is not just a library—it's a central part of the modern development stack, and its role is only growing.
Conclusion
React JS development offers an unmatched combination of speed, efficiency, and flexibility for building user interfaces. Whether you're developing a simple dashboard or a complex web app, React gives you the tools to create clean, maintainable, and dynamic interfaces that users love.
If you're considering front-end development for your next project, investing in React JS development could be one of the smartest choices you make.
0 notes
phptutspoints · 2 years ago
Text
Vite Overview
Vite Overview In this article, we'll see Vite Overview. Learn More Here : https://phptutorialpoints.in/vite-overview/ #php #phptutorial #phptutorialpoints #webdevelopment #webdevelopmenttutorial #vitejs #vite #vitejstutorial #vitejsdevelopment #jsframework #javascriptdevelopment #javascripttools
In this article, we’ll see Vite Overview. What is Vite.js Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts: A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR). A build command that bundles your code with Rollup,…
Tumblr media
View On WordPress
0 notes
solaceinfotechpvtltd · 3 years ago
Text
0 notes