Petar Ivanov's Avatar

Petar Ivanov

@petarivanovv9

Practical React, Node, and Software Architecture Tips πŸ”₯ Author of β€œThe Conscious React” book βš›οΈ Author of the "The T-Shaped Dev" newsletter πŸ§™ Join 17K+ devs β†’ thetshaped.dev

208
Followers
70
Following
325
Posts
29.11.2024
Joined
Posts Following

Latest posts by Petar Ivanov @petarivanovv9

Preview
Sunsetting Create React App – React The library for web and native user interfaces

Links: react.dev/blog/2025/02...

15.02.2025 10:33 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

15.02.2025 10:33 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

15.02.2025 10:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

🫑 RIP Create React App (CRA)

The React docs finally recommend using Vite for starting your next React project.

#react

15.02.2025 10:33 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Software Engineers after leading 15 minutes meeting πŸ˜…

14.02.2025 15:07 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We must adapt and make AI our ally, not our enemy.

Otherwise, someone who does will take over our job.

11.02.2025 15:03 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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.

09.02.2025 09:42 πŸ‘ 5 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

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.

09.02.2025 09:42 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Exactly πŸ™Œ

09.02.2025 09:41 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Nothing can beat real-life experience and getting your hands dirty.

09.02.2025 09:41 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

β€’ 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.

08.02.2025 09:38 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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!

06.02.2025 16:06 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

06.02.2025 15:05 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

05.02.2025 15:20 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

05.02.2025 15:08 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It will automatically rerun tests related to the changed files and speed up the feedback loop from your tests.

05.02.2025 15:08 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

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.

05.02.2025 15:08 πŸ‘ 4 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

exactly πŸ™Œ

03.02.2025 14:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

03.02.2025 14:50 πŸ‘ 5 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

Great breakdown, Neo!

03.02.2025 14:50 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Benefits of mastering one language:

1. Deep Expertise
2. Becoming the go-to person
3. Easier to learn new technologies

03.02.2025 08:59 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

πŸ’‘ 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.

03.02.2025 08:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

🟒 When to consider a State Management Library?

β€’ Complex state logic across multiple components.

β€’ Large applications.

03.02.2025 08:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

πŸ”΄ When NOT to consider a State Management Library?

β€’ Small to medium-sized applications.

β€’ Simple UI or state logic.

β€’ Short-term projects or prototypes.

03.02.2025 08:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

03.02.2025 08:58 πŸ‘ 4 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

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.

02.02.2025 15:11 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Through writing, you improve your way of thinking.

You put your thoughts in order.

It's a great way to enhance your communication skills.

01.02.2025 15:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Perfectionism kills art!

01.02.2025 15:08 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Subscribed! All the best, Neo. I’m sure you’ll rock there as well!

01.02.2025 15:06 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

01.02.2025 15:06 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0