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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document fragmentation of Redux, Redux-Toolkit, React-Redux #3653

Closed
ryota-murakami opened this issue Aug 12, 2023 · 1 comment
Closed

Document fragmentation of Redux, Redux-Toolkit, React-Redux #3653

ryota-murakami opened this issue Aug 12, 2023 · 1 comment

Comments

@ryota-murakami
Copy link
Contributor

During upgrade work for my RTK & Query starter I want to know official recommended directory structure style.
Firstly I went to Redux-Tookit Docs, there is createSlice() API description and tutorial but I couldn't see bestpractice pert.

Next, I search Google and reach Recommended folder structure for Redux-Toolkit? reddit and answering @markerikson .
He navigated 2 original Redux document links, I also followed that.
https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-with-single-file-logic
https://redux.js.org/tutorials/essentials/part-2-app-structure

My concern is Redux-Toolkit best practice written original Redux docs instead of Redux-Toolkit docs is confusable generally.
Why I can't reach Redux-Toolkit at Redux-Toolkit docs?
Why original Redux docs explain well with superset library & API that doesn't exist original Redux?

If you have a any thought or intent, I'm glad to hear that.

@markerikson
Copy link
Collaborator

Yeah, I wrote up a long answer over in this issue describing why we have the docs split the way they are:

#2637 (comment)

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