Seishin's Life
  • Home
  • About Me
Sign in Subscribe

themes

Dynamic switching of themes in React Native App: The funky way with hooks! 👌

Dynamic switching of themes in React Native App: The funky way with hooks! 👌

In February I posted an article with example of how to switch React Native Paper themes dynamically via the recently introduced Context API. Today, I will try to rewrite the example with the latest big thing in React world - React Hooks! I'm so excited about this addition since writing
Atanas Dimitrov Nov 11, 2019
Dynamic switching of themes in React Native App

Dynamic switching of themes in React Native App

[UPDATE] Check out the example implemented with React Hooks 👉 https://www.seishin.me/dynamic-switching-of-themes-in-react-native-app-the-funky-way-with-hooks/ I've spent the last 3 hours thinking about an easy way to switch app themes at runtime and I found a really easy solution! :) I want to share it with you because there're not many examples
Atanas Dimitrov Feb 24, 2019

Subscribe to Seishin's Life

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Seishin's Life © 2023. Powered by Ghost