Skip to content

Create selector functions for root file, active file #2341

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

Merged
merged 6 commits into from
Aug 11, 2023

Conversation

lindapaiste
Copy link
Collaborator

Continue breaking up stale PR #2054 into smaller pieces.

Changes:

  • Create memoized selectors for deriving values from the Redux state:
    • The root folder
    • The file which is currently open in the editor
  • Use those selectors in mapStateToProps and useSelector in existing components

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@raclim raclim merged commit 91a4a1f into processing:develop Aug 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants