Skip to content

My expo application reload once i add new tailwind class name #340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Dubemtopsite opened this issue Feb 7, 2025 · 2 comments
Open

My expo application reload once i add new tailwind class name #340

Dubemtopsite opened this issue Feb 7, 2025 · 2 comments

Comments

@Dubemtopsite
Copy link

My first time using react-native-reusable on expo application. But am having issue which can be frustrating. Whenever I want to style a component and add a new tailwind classname to the component like View, Text and others the app will do a full reload thereby returning me to the initial page.

I want to know if this is a bug or normal behavoiur of how nativewind in conjuction with rnr works. And also is there a way to solve this issue

Thanks

Image

@mrzachnugent
Copy link
Owner

Hey @Dubemtopsite , sounds like a configuration issue. Can you please provide a minimal reproduction repo?

@skenan
Copy link

skenan commented Apr 21, 2025

@mrzachnugent

can reproduce with npx @react-native-reusables/cli@latest init

It will do a full reload after adding like "px-6" which is a new class

caused by

export {
  // Catch any errors thrown by the Layout component.
  ErrorBoundary,
} from 'expo-router';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants