Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to mobile developers #2507

Closed
fregayeg opened this issue Jul 12, 2022 Discussed in #2505 · 1 comment
Closed

Add support to mobile developers #2507

fregayeg opened this issue Jul 12, 2022 Discussed in #2505 · 1 comment

Comments

@fregayeg
Copy link

Discussed in #2505

Originally posted by fregayeg July 11, 2022
Hello! I'm a mobile app developer (React Native), currently, I'm using RTK and its feature Query. I read RTK docs almost everyday, really enjoying it 馃槏.

However, I wish I could see some intros, guides or conclusions about mobile development using modern redux, I mean on the docs website, if its possible 馃檹.

Sometimes I find it difficult to follow an example (codesandbox example) from docs, which is ofc a web app, to make such in my mobile environment . I think it could be more better for people like me to find some ready examples in docs for mobile purpose. This one is a demo with possibility to interact and see result in time. (Expo snack)

As a starting point, I'd suggest to add mobile keyword to this paragraph:

It is designed to simplify common cases for loading data in a web application

So it becomes:

It is designed to simplify common cases for loading data in a web & mobile apps.

Note: I know that many use cases are same as on web, so there are no big differences 馃檪. I aim to what is different like mobile navigation, notifications, bottom-sheet, testing and for me the prior topic, could be about fetching & caching data.

The advantages:

  • 賹Help any developers to discover what is common between web and mobile and what is not.
  • Help mobile developers to use redux with less pain.
  • Redux will appear more powerful and effective compared to other tools.
  • Attract the attention of mobile developers around the world, especially those working on large and complex systems.
  • Get more contributors and fans 馃ぉ

This idea is open to any criticism, enrichment, feedback

Action plan:

Following the discussion above, I'd start to try to give support to React Native - Expo mobile development in Redux Toolkit website.

My current plan is as follows:

  • Add a new menu in docs like the example below:
    image
  • In a 1st page:
    • I'd give an introduction to modern redux for mobile developers.
    • Motivational expressions.
    • Suggestions about recommended tools.
    • A sample example to start with. (I'd use my own experience to express ideas).

I don't want to go further for now, just want to try this simple step (one page), to see how it goes. Any help or contribution is welcome. 馃檶

@fregayeg fregayeg changed the title [Docs + Examples] Add support to mobile development Add support to mobile developers Jul 12, 2022
@markerikson
Copy link
Collaborator

I don't think we actually need an entire separate docs category for this. At most, we need a section in the Redux core docs about store/app setup with RN:

reduxjs/redux#4035

Other than that, there really isn't much different about using RTK with RN.

Sorry if I wasn't clear enough in that discussion thread.

@markerikson markerikson closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants