Skip to content

Commit 8b2f04f

Browse files
Merge branch 'main' into feature/upgrade-angular-to-19.2.0
2 parents 0fbc7e4 + c227c2b commit 8b2f04f

File tree

9 files changed

+677
-12
lines changed

9 files changed

+677
-12
lines changed

bolt-expo/app/_layout.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
import { useEffect } from 'react';
22
import { Stack } from 'expo-router';
33
import { StatusBar } from 'expo-status-bar';
4-
5-
declare global {
6-
interface Window {
7-
frameworkReady?: () => void;
8-
}
9-
}
4+
import { useFrameworkReady } from '@/hooks/useFrameworkReady';
105

116
export default function RootLayout() {
12-
useEffect(() => {
13-
window.frameworkReady?.();
14-
}, []);
7+
useFrameworkReady();
158

169
return (
1710
<>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { useEffect } from 'react';
2+
3+
declare global {
4+
interface Window {
5+
frameworkReady?: () => void;
6+
}
7+
}
8+
9+
export function useFrameworkReady() {
10+
useEffect(() => {
11+
window.frameworkReady?.();
12+
});
13+
}

bolt-expo/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hono-nodejs-starter/.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# dev
2+
.yarn/
3+
!.yarn/releases
4+
.vscode/*
5+
!.vscode/launch.json
6+
!.vscode/*.code-snippets
7+
.idea/workspace.xml
8+
.idea/usage.statistics.xml
9+
.idea/shelf
10+
11+
# deps
12+
node_modules/
13+
14+
# env
15+
.env
16+
.env.production
17+
18+
# logs
19+
logs/
20+
*.log
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
pnpm-debug.log*
25+
lerna-debug.log*
26+
27+
# misc
28+
.DS_Store

hono-nodejs-starter/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
```
2+
npm install
3+
npm run dev
4+
```
5+
6+
```
7+
open http://localhost:3000
8+
```

0 commit comments

Comments
 (0)