Working with Legacy code. Feature for IBM in an old Babel Plugin [Live] (1/2)
In this episode, I'm adding some tests to an old babel-plugin-ignore-html-and-css-imports package. Using the safety net provided by tests I refactor it, removing a lot of unnecessary junk. Finally, I add a feature that was requested by the IBM/kui team.
Watch it here:
Let me know if you have any questions or thoughts in the comments below.
Let us help you on your journey to Quality Faster
We at Xolv.io specialize in helping our clients get more for less. We can get you to the holy grail of continuous deployment where every commit can go to production — and yes, even for large enterprises.
Feel free to schedule a call or send us a message below to see how we can help.
Better way to use useReducer with TypeScript
Introducing useComplexState hook, - a small wrapper combining Redux Toolkit, useReducer with some extra syntax sugar to make things even simpler and more to-the-point.
Dealing with randomness in tests
A few patterns to help you deal with randomness in your codebase.
How to deal with the yarn link "There's already a package called x registered" error
Short discussion about helpful error messages, and a solution to the problem