React native tutorial update #25444
Merged
Merged
Conversation
The old tutorial was built around connectToRedux + Paper + DrawerNavigator plus a DataList and AbpSelect that no longer ship with the template (PRs #4635 and #4679 in volosoft/abp-studio cleared and re-themed the React Native template). The whole document is rewritten so each code block matches the bookstore-react-native-mongodb sample one-to-one. Major changes from the previous version: - Replaces 'add to DrawerNavigator' with 'add to BottomTabNavigator' (the new default navigation_type). - Walks through building NativeWind-based DataList and AbpSelect components before using them in the screens. - Drops connectToRedux / createAppConfigSelector() in favor of useDispatch + useSelector(appConfigSelector). - Keeps Paper TextInput only (the only Paper component the template still uses); everything else is Pressable + className. - Backend setup is intentionally short (endpoint + permission summary + pointer to the Web Application Tutorial) - the focus is the RN side. - Existing screenshot file paths kept with a TODO marker so they can be refreshed once the new UI is captured. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the seven Paper-era TODO placeholders with fresh -new.png captures from the modernized template (BottomTab + NativeWind). Drops the 'book-list-with-author' shot since the author column is already visible in 'book-list-new.png'. Captures: book-store-menu-item-new, book-list-new, create-book-new, update-book-new, delete-book-alert-new, create-author-new, authors-in-book-form-new. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Docs syntax check passedThe previously reported issues are no longer present in this PR. |
Contributor
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 78.5%, saving 1.2 MB.
|
Scriban treats `{{ ... }}` inside markdown as a template expression and
chokes on the comma inside JSX style props (e.g.
`contentContainerStyle={{ flexGrow: 1, paddingBottom: 96 }}`).
Wraps every literal JSX `{{ ... }}` occurrence with the
`{%{{{ ... }}}%}` escape used elsewhere in the docs, covering the 13 sites
spread across the DataList, AbpSelect, BookStoreNavigator,
BottomTabNavigator and CreateUpdateBookForm code blocks. Pure docs change,
no semantic effect on the rendered tutorial.
Reported by the markdown linter:
index.md:161:43: error: [ScribanParseError] Invalid token found `,`.
Previous Scriban-escape pass only matched single-line `{{ ... }}` blocks
and missed the two multi-line ones in BookStoreNavigator and
BottomTabNavigator (the Stack.Screen / Tab.Screen `options={{ ... }}`
props). Linter still failed on docs/en/tutorials/mobile/react-native/index.md#L363.
Wraps both multi-line objects with the same `{%{{{ ... }}}%}` escape, taking
the total escape count to 15/15 balanced and leaving no naked JSX
double-braces in the file.
sumeyyeKurtulus
approved these changes
May 22, 2026
Member
|
@fahrigedik Should we cherry-pick this to rel-10.4? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Resolves https://github.com/volosoft/vs-internal/issues/8532 (write the related issue number if available)
Checklist