Jacer Chetoui
64b1ca7f34
Fixed some spelling mistakes in intro.md ( #796 )
2023-07-19 16:17:14 -05:00
evanbacon
7a534aed93
migrate handoff guide to expo docs
2023-07-13 16:04:47 -05:00
evanbacon
62c6d8f5c1
Update intro.md
2023-07-06 14:17:50 -07:00
Aman Mittal
bcbc056703
[docs] Update Expo Router advanced section links ( #739 )
2023-07-06 09:01:06 -07:00
Evan Bacon
1c6c28d947
add redirect notices ( #734 )
2023-07-05 11:10:56 -07:00
evanbacon
924dbf2987
v2 header
2023-07-05 10:48:17 -07:00
Evan Bacon
a5e22e4fab
docs: add page redirects ( #697 )
...
* add page redirects
* revert broken plugin
* redirect more
2023-06-28 15:02:00 -07:00
Mark Lawlor
27aa733a2a
tests: additional tests ( #635 )
...
* .
* tests: add addition hooks, navigation, and initialRouteName tests
* tests: remove .only
* tests: cleanup
* fix: linting errors
* feat: add toHaveSegments test util
* test: remove pathname test
* fit linter errors
2023-06-20 11:37:22 +10:00
evanbacon
75f5140a81
update docs
2023-06-15 00:18:56 -05:00
Andrew Levy
b42fd092a1
chore(docs): Added platform specific code guide section ( #652 )
...
* Added platform specific code guide section to docs
* minor updates
2023-06-11 20:29:24 -05:00
evanbacon
5c8bf1c0bf
clarify typed routes
2023-06-07 11:46:53 -05:00
Evan Bacon
4fe9adb992
Update universal-links.md ( #628 )
2023-06-03 12:23:54 -05:00
Evan Bacon
d13c6776db
feat(runtime): update async routes for [email protected] ( #622 )
...
* new async bundle loader implementation
* update docs
* update
* add multi-platform settings
* fix tests
* fix tests
2023-06-03 12:10:19 -05:00
evanbacon
f2999b6ace
static rendering guide
2023-06-03 12:01:26 -05:00
Firas Regaieg
91ac19c868
Add missing required dependency in getting started guide ( #594 )
...
Update intro.md file: add react-native-gesture-handler
2023-05-21 11:17:21 -05:00
Alireza Zamani
9ca413a666
docs: outdated link on intro.md ( #587 )
2023-05-19 11:05:10 -05:00
Evan Bacon
25ef137b43
feat(expo-router): rename useSearchParams to useGlobalSearchParams and deprecate the useSearchParams function. ( #578 )
...
* Rename `useSearchParams` to `useGlobalSearchParams`
* Renamed `useSearchParams` to `useGlobalSearchParams` and deprecate the `useSearchParams` function.
* Update hooks.ts
* Update hooks.test.tsx
* fix tests
* update yarn
2023-05-17 11:18:17 -05:00
evanbacon
0d6bc12eea
update docs regarding static rendering
2023-05-16 12:50:05 -05:00
snamiki1212
813e198f3f
Update requirement expo version on intro.md ( #558 )
2023-05-15 10:33:31 -05:00
Daniel Grychtoł
3016b8c997
chore(docs): update wrong env var name in typed routes section ( #574 )
2023-05-15 08:31:43 +10:00
Evan Bacon
6b5e0b81d9
reveal experimental features for v2 ( #568 )
2023-05-13 06:27:34 +02:00
Evan Bacon
4ef83ad0f1
fix(head): ensure handoff works when moving between two native devices ( #549 )
...
* Update config plugin to modify the NSUserActivityTypes for handoff
* expose global url
* add variation for pathname matching
* Update ExpoHead.ios.tsx
* Update ExpoRoot.tsx
2023-05-10 11:15:48 +02:00
Abdullah Mzaien and Mark Lawlor
07b4131b05
Update typescript.md ( #513 )
...
correcting yarn install script
Co-authored-by: Mark Lawlor <[email protected] >
2023-05-08 16:19:50 +10:00
Evan Bacon
13fee86bf5
Update typescript.md
2023-05-02 14:09:50 -05:00
Evan Bacon
9cd212487e
Update handoff.md
2023-05-01 23:13:51 -05:00
Evan Bacon
9f5d21ee88
Update handoff.md
2023-05-01 22:03:26 -05:00
Evan Bacon
e4275bee0a
Update root-html.md
2023-05-01 13:08:32 -05:00
Evan Bacon
d93ececb46
fixes for the head module ( #520 )
...
* fixes for the head module
* fix url format
* Update index.ts
* fix config plugin
* fix types
2023-04-27 19:24:49 -05:00
Evan Bacon
a93abf4747
Update universal-links.md
2023-04-26 19:01:56 -05:00
Evan Bacon
165dc8a376
Update universal-links.md
2023-04-26 18:57:38 -05:00
Evan Bacon
5299ec1962
feat: expo-head native module ( #468 )
...
* create expo-head
2023-04-26 18:49:59 -05:00
Abdullah Mzaien
5fda4b7931
Update typescript.md ( #514 )
...
Correcting typescript initialize script
2023-04-26 14:26:12 -05:00
evanbacon
2d25bc9af4
update docs
2023-04-21 14:57:17 -07:00
Fahmi
de868721a8
Beautify the spacing of the code example ( #509 )
2023-04-21 14:52:35 -07:00
Mark Lawlor
3ebe708f12
feat: testing utils for jest ( #447 )
...
* feat: testing utils for jest
* feat: jest matchers
* docs: updated jest docs
* fix: broken expect() types
* fix: remove unusued import
* docs: fix typo
* docs: update jest.md
* fix: Move <Head /> back into entry
* fix: initial state loading in a test environment
* fix: remove extra Head.provider in ExpoRoot
2023-04-20 07:02:10 +10:00
Evan Bacon
76c1a95cd7
Update faq.md
2023-04-18 17:00:21 -05:00
Mark Lawlor
c095017156
fix: Convert react-native-web types to an ambient module ( #481 )
2023-04-12 22:48:34 -05:00
evanbacon
98370086bb
use expo cli on main
2023-04-12 12:17:16 -05:00
carnversationz
b14641b09f
Added installation instruction for @react-navigation/drawer ( #475 )
2023-04-10 15:16:36 -05:00
evanbacon
aff23f2aad
Update tabs.md
2023-04-09 18:37:38 -05:00
evanbacon
f71590b183
Update bundle-splitting.md
2023-04-02 14:59:41 -05:00
Anthony Oyathelemhi
874ea4cdd9
fix typo on authentication guide ( #454 )
...
The `(auth)` group is supposed to be unprotected, but the doc says protected
2023-04-02 14:32:01 -05:00
Evan Bacon
6d0c89e9d7
feat(router, runtime): Development bundle splitting ( #449 )
...
# Motivation
Use Expo Router's file-based routing to automatically defer bundling of dependencies that are not directly required for a given route.
Production bundle splitting is still in-development. When you bundle for production, all suspense boundaries will be disabled and there will be no loading states.
Apps using the Hermes Engine will not benefit much from bundle splitting as the bytecode is already memory mapped ahead of time. We plan to add support regardless for faster over-the-air updates, React Server Components, and web support.
The feature can experimentally be enabled with `expo.extra.router.asyncRoutes: 'development'` in the `app.json`
> Special thanks to @motiz88 for building and stabilizing the feature in Metro Bundler.
# Execution
- Extend the babel plugin to conditionally enable / disable the feature.
- Implement an async bundle loader for Metro.
- Bump Metro.
- Disable route filtering when async is enabled.
- Append fallback loaders for suspense boundaries.
- Add fallback state for missing routes.
# Test Plan
Updated e2e tester app
2023-04-01 14:05:01 -05:00
evanbacon
457b8b9208
Update intro.md
2023-03-29 22:04:58 -05:00
Mark Lawlor
a7e569b52e
fix: upgrade metro to 0.76.0 ( #418 )
2023-03-27 18:15:41 -05:00
Evan Bacon
492b9eeff2
feat(router): public root HTML file ( #404 )
...
* feat: expose static root
* working
* expose root file and test
* update
* fix tests
* root -> html
* fix tests
* wip tester
* wip -- head not working
* fix head test
* Update package.json
* Update export.test.ts.snap
* clean up
* Update root-html.md
* Update package.json
* refactor
2023-03-23 12:21:40 -05:00
Ludwig Villalba
046648b56a
update import at useLocalSearchParams section ( #415 )
2023-03-23 11:42:28 -05:00
Ludwig Villalba and Evan Bacon
9d93c93c5f
Add more depth to vercel.json ( #420 )
...
* Add more depth to vercel.json
Unfortunately, file must be placed manually inside the ./dist folder and gets overwritten by Metro each time ...
* Update docs/docs/guides/hosting.md
---------
Co-authored-by: Evan Bacon <[email protected] >
2023-03-23 11:39:48 -05:00
Evan Bacon
9bc6e4460b
document experimental head component ( #412 )
...
* Create head.md
* hide doc from sidebar
* move to features
2023-03-22 10:37:50 -05:00
Evan Bacon
b96cd4b1fe
feat(runtime): polyfill window.location and fetch on native to support relative requests. ( #406 )
...
* feat(runtime): polyfill `window.location` and `fetch` on native to support relative requests.
* lint fix
* lint fix
2023-03-22 10:37:37 -05:00