Arthur Lee - Building dark mode with React Native at scale | App.js Conf 2023
Vložit
- čas přidán 27. 08. 2024
- Dark mode may be easy to implement if you are building a brand new React Native app, but what if you already have a large codebase with many components and screens? In this session, we’ll talk about techniques you can use to implement dark mode at scale, including using a React Native feature you might not have heard of.
Don't miss any updates about App.js Conf 2024 and follow us on Twitter:
💎 / appjsconf
💎 / swmansio
I don't get the point of smooth theme change animation on iOS. If I switch my theme written in JS , the screen rerenders, but it looks as smooth as on presented video.
PlatformColor doesn't work well and has a ton of issues as far as I remember, I would generally advice against it.
Does that mean it won't work with code push since the color processing occurs in the native layer?
tailwind's solution is miles better
Could you link to it please?
link it please
I use shopify restyle
Not the best way to implement dark mode in react native.
Which way do you prefer?