KBVE / kbve

KBVE Monorepo
https://kbve.com/
11 stars 12 forks source link

[Concept] : [Expo] : Tamagui Integration #786

Open h0lybyte opened 6 months ago

h0lybyte commented 6 months ago

Core Concept/Theory

The integration of Tamagui with Expo aims to bridge the gap between design and development within React Native applications, facilitating a more seamless and efficient workflow. Tamagui, known for its highly optimized and customizable design system, offers a set of tools and components that can significantly enhance the user interface (UI) development process. By integrating Tamagui with Expo, developers can take advantage of Tamagui's design capabilities while enjoying the ease of use and extensive library support provided by Expo. This combination would allow for the creation of visually appealing, performant, and scalable mobile applications with minimal overhead. The core idea is to enable developers to rapidly prototype and build applications with a consistent design language, reducing the time from concept to production without sacrificing quality or performance.

Alternative Ideas

  1. Theming and Branding: Beyond basic UI development, Tamagui's integration could offer dynamic theming capabilities, allowing developers to easily switch between themes or customize the application's appearance according to brand guidelines.

  2. Animation Library Integration: Leveraging Expo's animation libraries alongside Tamagui could provide an enhanced user experience, with smooth transitions and feedback animations that are easy to implement.

  3. Accessibility Features: Expanding on Tamagui's accessibility options, the integration could focus on developing a set of best practices and tools within Expo to ensure that applications are accessible to all users, including those with disabilities.

Alternative Examples/Sources

Additional Information

When considering the integration of Tamagui with Expo, it's essential to focus on the compatibility and performance aspects. Since Expo manages the underlying native code, ensuring that Tamagui's components and optimizations are fully compatible with Expo's managed workflow is crucial. This might involve collaborating with both the Tamagui and Expo communities to address any potential issues or limitations. Additionally, exploring the potential for a plugin or a custom Expo config to streamline the integration process could significantly benefit developers.

Expanding upon this integration could also involve creating a starter kit or a set of templates that demonstrate best practices for using Tamagui within Expo projects. This would not only help in showcasing the capabilities of the integration but also serve as a valuable resource for developers looking to adopt this workflow.

Ultimately, the goal of integrating Tamagui with Expo is to provide developers with the tools and flexibility needed to create high-quality, cross-platform mobile applications efficiently, leveraging the strengths of both ecosystems.

h0lybyte commented 5 months ago

There is a current issue with the react-native-css-interop , here is a reference to this issue -> https://github.com/tamagui/tamagui/issues/2279

h0lybyte commented 5 months ago

react-native@0.73.2 - expected version: 0.73.6

An update to the RN might help with this bug.

h0lybyte commented 4 months ago

Updated Tamagui to 1.98x and Expo to 51.x Next up is a RN update, but this css file issue is still a pain for iOS :/

h0lybyte commented 1 month ago

Reference to https://github.com/react-native-webview/react-native-webview

Needs to be added and linked in a future update.