-
Notifications
You must be signed in to change notification settings - Fork 273
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
RFC: RNTL Cookbook #1624
Comments
I love the idea! The topics all seem relevant, I would add a few more I think:
For librairies I'm not sure if it should be in our cookbook or on the librairies's side. We could contribute to other's libraries' documentation though. I think it makes more sense for instance that the recommended setup for testing reanimated is in their documentation |
@pierrezimmermannbam it would be awesome if you could share some of your practical knowledge in the topics you mentioned (or other). As for libraries, the idea is not to replace their documentation, but rather link to that, with a brief TLDR version that would simplify the lives of most developers. |
Love the idea and the topics as well! I'd be glad to help if i get the time. |
@MattAgn come and join the fun :-) |
Great idea, I'd love to think along :) I've mocked Jotai just a while ago. I might be able to use some snippets from https://github.com/vanGalilea/react-native-testing 🚟 Navigating through screens with Expo Router. WDYT? |
Hey @mdjastrzebski I've raised a PR with a Jotai recipe. Thanks in advance! |
We can now update the to do list with check on Jotai and Testing async code! |
Now we have 3 recipes and a revamped Cookbook app the next milestone is to announce this on This Week in React. When is our cookbook "announce-worthy"? WDYT @mdjastrzebski? |
@vanGalilea I've started working on recipes for Zustand and Redux. If we have that and Mocking Network Calls (say with BTW would you like to contribute the networks calls mocking recipe? |
Cool sounds like a plan 👍🏻 and most certainly I have something already lying around for the networks calls mocking recipe. I'll raise a PR soon 👍🏻 |
@mdjastrzebski let's check " Mocking network calls with fetch" ✅ and Jotai under state management ✅ Now, let's continue to the next recipes ;) |
RNTL Cookbook
RNTL is feature-complete, so the next big frontier is documenting and sharing best practices so our users can get the most out of using RNTL. Specifically, we could have a significant impact by:
I propose creating an RNTL Cookbook. It would be a documentation section where we would gather relatively short "recipes" for handling different concerns, tips & tricks, etc.
Proposed topics
Basic
fetch
Popular libraries
Navigation
State management
Other
Each documentation page should be brief and accompanied by an easy-to-understand example showcasing the essence of the recipe/technique. Additionally, I will create an
examples/cookbook
app based on abasic
example app that will provide runnable code for all recipes.We would invite our users to share their own best practices, tips & tricks, etc. so this becomes a crowdsource effort and a common knowledge base making our (developer) lives easier and more productive.
CC: @thymikee @pierrezimmermannbam @MattAgn @AugustinLF
The text was updated successfully, but these errors were encountered: