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

Feat: active (nav) links #419

Merged
merged 3 commits into from Mar 8, 2024
Merged

Feat: active (nav) links #419

merged 3 commits into from Mar 8, 2024

Conversation

molefrog
Copy link
Owner

Allow Link to accept className function to conditionally render classes based on active/non-active state.

Copy link

codesandbox bot commented Feb 26, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

stackblitz bot commented Feb 26, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

github-actions bot commented Feb 26, 2024

size-limit report 📦

Path Size
packages/wouter/esm/index.js 2.11 KB (+1.17% 🔺)
packages/wouter/esm/use-browser-location.js 658 B (0%)
packages/wouter/esm/memory-location.js 834 B (0%)
packages/wouter/esm/use-hash-location.js 737 B (0%)
packages/wouter-preact/esm/index.js 2 KB (+1.34% 🔺)
packages/wouter-preact/esm/use-browser-location.js 552 B (0%)
packages/wouter-preact/esm/use-hash-location.js 607 B (0%)
packages/wouter-preact/esm/memory-location.js 702 B (0%)

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c5efa2e) to head (62a7c7b).
Report is 5 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff            @@
##                v3      #419   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            1         1           
=========================================
  Hits             1         1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@molefrog molefrog merged commit 6815e69 into v3 Mar 8, 2024
4 checks passed
@molefrog molefrog deleted the feat/active-links branch March 8, 2024 13:21
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.

None yet

1 participant