Links: react.dev/blog/2025/02...
After the learning process, you can move to Vite-based frameworks.
This way, you've mastered the basics, and the transition to a framework is easy.
The docs recommend starting with a framework.
However, I still think it would be beneficial for anyone who is starting with React to start with plain Vite.
π«‘ RIP Create React App (CRA)
The React docs finally recommend using Vite for starting your next React project.
#react
Software Engineers after leading 15 minutes meeting π
We must adapt and make AI our ally, not our enemy.
Otherwise, someone who does will take over our job.
How to be mediocre?
π¨ Stop learning.
β οΈ People are getting pleased by their comfort, so they usually miss opportunities to stretch their comfort zone and learn.
πͺ Embrace mistakes.
π± Grow from failures.
πββοΈ Letβs go to the Growth Zone.
Mistakes are a free classroom.
We learn and grow from them.
Otherwise, we can't progress forward and then move only backward because there's nothing like a permanent state in the universe.
Exactly π
Nothing can beat real-life experience and getting your hands dirty.
β’ Junior developer β Delivers a task.
β’ Mid/Regular developer β Delivers a project.
β’ Senior & above developer β Delivers a standard.
Senior developers improve the overall velocity of the organization by introducing many practices and standards.
Communication skills are vital for a good Software Engineer and a Leader.
We must express our ideas clearly, listen carefully, understand others, and discuss problems and ideas humanely.
Well said, Josh!
Known vulnerabilities in dependencies.
Some versions of third-party components might contain security issues.
Check your dependencies and update when better versions become available.
β
Use a tool like the free Snyk CLI to check for vulnerabilities.
Type-driven development is the practice of defining types upfront, making sure of type consistency across the application, and making illegal states unrepresentable.
This approach leads to slower short-term output, but leads to easier, more reliable coding in the long run.
When I start refactoring code or working on a new feature, I run the `test:watch` command and monitor how the changes impact the tests and vice versa.
It will automatically rerun tests related to the changed files and speed up the feedback loop from your tests.
When you start a new project or join an older one, add a `jest watch` command to the package.json.
When you run the `test:watch` command, it provides real-time feedback and detailed output of your tests.
exactly π
Be mindful when youβre looking for your next jobβ¦
If you go for the earning early, you stop the learning early.
Do not think short. Be smart.
Thereβs time for the earning.
Skills will compound.
In the best case, you will be optimizing for both earning and learning.
Great breakdown, Neo!
Benefits of mastering one language:
1. Deep Expertise
2. Becoming the go-to person
3. Easier to learn new technologies
π‘ My advice: Always start with Reactβs built-in tools for state management and evolve when necessary.
Donβt add unnecessary complexity. Keep things as simple as possible.
π’ When to consider a State Management Library?
β’ Complex state logic across multiple components.
β’ Large applications.
π΄ When NOT to consider a State Management Library?
β’ Small to medium-sized applications.
β’ Simple UI or state logic.
β’ Short-term projects or prototypes.
State management libraries help manage and centralize state in React applications, which can grow complex as the application scales.
However, as they might help, they can also add extra complexity, which might not be necessary and beneficial.
If you don't want to spend 10 minutes reading the documentation, you can always spend 10 hours debugging the issue. π€·ββοΈ
Be mindful of the trade-off and your time.
Act appropriately.
Through writing, you improve your way of thinking.
You put your thoughts in order.
It's a great way to enhance your communication skills.
Perfectionism kills art!
Subscribed! All the best, Neo. Iβm sure youβll rock there as well!
If you sprint through it all the time, you wonβt be able to reach the end.
Itβs not just unrealistic. Itβs unsustainable.
Thereβs no athlete who can spring through the whole marathon.
Regular breaks help maintain our stamina and focus.