-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expo sdk 54 support #557
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
Expo sdk 54 support #557
Conversation
…nk stack templates
@mrzachnugent there seems to be a series of type errors in
|
@dannyhw i've fucked up the next branch a bit too much so I'm doing the following:
|
@danstepanov For the type error: For the linting rules, the unused imports can be removed. And the progress indicator array item can be updated to: {
name: 'Progress Indicator',
component: function ProgressIndicatorExample() {
const [progress, setProgress] = React.useState(13);
const timeOutRef = React.useRef<ReturnType<typeof setTimeout> | null>(null);
React.useEffect(() => {
if (!timeOutRef.current) {
timeOutRef.current = setTimeout(() => {
setProgress((prev) => (prev >= 99 ? 0 : prev + 5));
}, 1000);
}
return () => {
if (timeOutRef.current) {
clearTimeout(timeOutRef.current);
}
};
}, []);
return (
<View className="p-4">
<ProgressIndicator value={progress} />
</View>
);
},
}, |
cool |
Description
Works for:
Motivation and Context
How Has This Been Tested?
bun run test