You are given a task to complete and you decided to implement an open-source solution. This task could be any level of complexity from a popup modal, image carousel, to application state-management system. After doing some searching you have found several solutions that will work to complete your task.
Unfortunately, not all packages you install will be the same. In fact the bundle you download could add extra bloat and effect performance. That is why it is best to always vet the package bundles to understand what you are adding to your application.
Light mode is good, Dark mode is good. Being able to toggle both in your application is fantastic.
Update: This article has been updated to reflect changes in using Fluent UI v8.
If you have spent any time with React, you have probably run across some UI Frameworks. Recently I discovered what Microsoft has been cooking up with their Fluent UI (formally Fabric UI) framework and it packs quite a punch.
So let us load up a Create React App and see how to toggle themes with React Hooks and the Fluent UI framework.
The Postman Marketing Tech team is a very small group of developers working on several properties including the Postman website. As a small team we are always looking for modular solutions that we can integrate quickly. We also love using the Postman App and use it where we can.
There are several parts the Postman website where dynamic data is served from our Postman Mock Servers. Our mock server handles many Collections (groups of requests), and for each request we write unit tests and monitor for stability. The experience of writing unit tests in Postman, imo, are not only quick…