Giter Site home page Giter Site logo

timotismjntk / tauri-and-expo-research Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mateusz1913/tauri-and-expo-research

0.0 0.0 0.0 1.96 MB

JavaScript 15.24% Ruby 2.86% C++ 12.32% Objective-C 0.69% Java 28.72% Rust 0.48% TypeScript 20.16% Objective-C++ 10.19% Swift 0.20% Makefile 2.69% HTML 3.03% Starlark 3.42%

tauri-and-expo-research's Introduction

Tauri & Expo research

This a monorepo showcasing how to share code between React Native mobile & web app with Tauri desktop app.

Packages

  • my-expo-app

This is React Native mobile (and web) app is bootstrapped with create-expo-app and native android & ios folders are generated with expo prebuild command. It has customized metro and webpack configuration to link shared modules with the root project. Webpack configuration has also customization for parsing typescript shared modules with babel.

  • my-shared-bl

This is a package with shared business logic. It contains platform specific modules for sending in-app notifications, getting OS information and fetching data with http client.

  • my-shared-ui

This is a package with shared UI. It contains shared <App /> component rendering labels, buttons and a list populated with API data.

  • my-tauri-app

This is Tauri desktop app created with npx create-tauri-app As well as React Native app, it has customized webpack configuration to link shared modules with the root project and parse typescript shared modules with babel. It also customizes webpack resolver to take .tauri.[ext] files, so that we can have different implementations depending on the platform (similar to .android.[ext], .ios.[ext], .web.[ext] concept known from React Native).

tauri-and-expo-research's People

Contributors

mateusz1913 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.