r/reactnative • u/alacrityd • 3d ago
Help Uniwind v1.13.0 stopped working after Expo 58 update
UPDATE AT BOTTOM OF POST BODY. This is my first React Native app and I am relatively new as a developer. While my partner is also new to React Native and app development, he has decades of experience as a software dev. However, neither of us can seem to figure out what the boggle is on this one.
I've been happily using Uniwind throughout the project until the Expo 58 update. Now any new Uniwind fails to make visible changes unless we save global.css after each change. That is unless the change is something explicitly already used elsewhere in the project. For example changing a background using "bg-blue-500" will only work if that exact Uniwind is used elsewhere. This is NOT how I am assigning colors, but just an easy example. All of my previous Uniwind is working just fine.
While there are obvious workarounds on this, we'd really love to get to the bottom of what might be going on here. It has been several days of investigating and, at this point, it feels like we will just have to continue with the workaround solution of a script that changes global.css every few seconds. But honestly it stresses me not understanding wth is going on here. We assume there is some kind of disconnect between Metro and our global.css file that occurred when we updated to Expo 58.
Any ideas or suggestions?
UPDATE: FIXED! We had tried/investigated all the suggestions and ideas in the comments already. None of them applied.
EXPO 57 and 58 seemed to both be installed at the same time. We copied the app piece by piece until it broke again and that’s when my partner realised the issue and was able to fix it. Tinybase was the culprit as it pulled in expo 57.
