bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
11.8k stars 1.51k forks source link

Migrate from Expo Webpack to Expo Router for web #6534

Open trivikr opened 2 days ago

trivikr commented 2 days ago

Describe the Feature

The social-app uses https://www.npmjs.com/package/@expo/webpack-config which is no longer supported

https://github.com/bluesky-social/social-app/blob/3c33e42d3508bacc6c5944df1ff3a011644a6ddb/package.json#L62

From official docs: https://docs.expo.dev/router/migrate/from-expo-webpack/

The original Expo for web version was based on Webpack 4 and focused primarily on building single-page applications (SPAs). This approach was based on Create React App and enabled building simple web apps with Expo SDK and React Native for web.

Expo Router is the new approach to building powerful universal apps that run on web and native.

Both React Navigation and Expo Router are Expo frameworks for routing and navigation. Expo Router is a wrapper around React Navigation and has many shared concepts.

Follow the documentation to migrate from Expo Webpack to Expo Router for web

Attachments

No response

Describe Alternatives

No response

Additional Context

No response

trivikr commented 2 days ago

Intro for Expo Router https://docs.expo.dev/router/introduction/