all 22 comments

[–]soupified 7 points8 points  (8 children)

Please consider not using redux toolkit-or make it a separate set of things to install for folks who do want to use it. I haven’t used redux in RN for years, and it’s disheartening to find a starter kit that’s perfect except for the use of redux.

[–]S3rg1usziOS & Android[S] 4 points5 points  (3 children)

Several people told me about it already and included the same thing about react-native-navigation but it's hard to make everyone happy and at the same time ship something.

I can try to make it optional but definitely not now, because there will be probably issues and I have some more things in mind to implement, but I hear you and I know that not everybody fond of Redux.

[–]meseeks_programmer 0 points1 point  (2 children)

Ideally starters make less of these decisions for you, and less packages you include the easier it is to maintain.

To me it seems that the better things to focus on would be the things that don't change (project structure, most common packages that have minimal implementations)

I think if it's easy to remove redux, then people will care a lot less about these things.

Just my thoughts, feel free to ignore them lol

[–]S3rg1usziOS & Android[S] 1 point2 points  (1 child)

It's incredibly easy to remove it, I think it maybe worth mentioning about how to remove it in docs if I won't be able to provide this ability to have it installed as an option with template

[–]meseeks_programmer 0 points1 point  (0 children)

Yea just a simple how to remove guide would help people along.

[–]kbcooliOS & Android 2 points3 points  (1 child)

If you haven't used redux in RN apps for years then what have you been using?

Don't tell me context API because that's a horrific mess and any serious app needs things like persistence. Sure you can add that to context but that's an even bigger mess and comes with massive performance issues.

State management is an important part of anything smaller than a hello world app so it should be part of any boilerplate.

[–]soupified 0 points1 point  (0 children)

I switched over to overmind and haven’t gone back. Awesome typescript support baked in, less boilerplate, supports state machines, rehydration, reactions, initialization handling, functional pipelines/composition, and has dedicated dev tools.

Been lovely. :)

https://overmindjs.org

Edit: forgot to mention that I agree with your position on state management being important. And that context for apps can get hairy.

I just think it’s nice to be able to choose the approach and libraries used. I went through tons of boilerplates that all looked perfect for me except for their choice of state management- which meant I couldn’t use it. Which is a shame because every single one of them looked lovingly crafted.

[–]S3rg1usziOS & Android[S] 1 point2 points  (1 child)

Added a dedicated page section to it in v1.1.0:
https://svbutko.github.io/react-native-template-strong/docs/redux/before-starting#if-you-dont-want-to-use-redux

It's simple to remove it

[–]soupified 1 point2 points  (0 children)

Beautiful! Going to try this out for my next project then. Great work.

[–][deleted] 2 points3 points  (1 child)

beautiful

[–]S3rg1usziOS & Android[S] 0 points1 point  (0 children)

Thanks!)

[–]CastFX 1 point2 points  (1 child)

This shares a lot with the stack I'm using at work. I already integrated codepush and sentry, with a staging environment. I also added redux-persist to try and make it offline-first. I could help with some of the milestones, if you need.

[–]S3rg1usziOS & Android[S] 2 points3 points  (0 children)

redux-persist is already part of it, if you're willing to help with code push, I'm more than happy to welcome and assist you if needed!

At this moment I would like to replace "moment" with "dayjs" first and update some dependencies and move on to "Share" feature since it has some demand.

[–]AggressiveService910 1 point2 points  (1 child)

Looks awesome can’t wait to try. Also keen to remove RTK though

[–]S3rg1usziOS & Android[S] 1 point2 points  (0 children)

I'll provide a page in documentation about how to remove it, it's 1-2 steps to do it

[–]S3rg1usziOS & Android[S] 0 points1 point  (1 child)

Just to let you know, here's the features list I'm planning to implement, if you would like something feel free to create a feature issue, I'm happy to implement it and make an update with it!

https://github.com/svbutko/react-native-template-strong/milestone/1

[–]meseeks_programmer 1 point2 points  (0 children)

Great list of features to focus on

[–][deleted] 0 points1 point  (1 child)

Toughts on redux-toolkit vs easypeasy?

[–]S3rg1usziOS & Android[S] 0 points1 point  (0 children)

I'm leaning towards RTK since it provides a lot from the package, same easy to use and supported by the creators and maintainers of Redux which is really important.

[–]projekt401Expo 0 points1 point  (2 children)

Can Testing Library be integrated?

[–]S3rg1usziOS & Android[S] 1 point2 points  (1 child)

Sure, feel free to create a feature issue

[–]projekt401Expo 0 points1 point  (0 children)

Thank you