reduxjs / redux

A JS library for predictable global state management
https://redux.js.org
MIT License
60.51k stars 15.26k forks source link

TypeScript Quick Start Tutorial snippet change #4689

Closed joserodrigorojo closed 1 month ago

joserodrigorojo commented 1 month ago

name: :memo: Documentation Fix about: Fixing a problem in an existing docs page

Checklist

What docs page needs to be fixed?

What is the problem?

The app/store.ts code snippet in the TypeScript Quick Start Tutorial should be updated to include the export keyword for the store constant, as demonstrated in the full example hosted in CodeSandbox within the same page and the snippet for the same file shown in the Code Quality > Usage with TypeScript > Define Root State and Dispatch Types page.

What changes does this PR make to fix the problem?

This PR adds the export keyword to the store constant declaration in the app/store.ts file snippet, aligning with the implementation in the CodeSandbox example and other docs.

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

netlify[bot] commented 1 month ago

Deploy Preview for redux-docs ready!

Name Link
Latest commit 18fab4b2947a7b7bfca60eb6843070d0dbe3216c
Latest deploy log https://app.netlify.com/sites/redux-docs/deploys/66009960cafda00008cdd5dc
Deploy Preview https://deploy-preview-4689--redux-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

markerikson commented 1 month ago

Thanks!