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

Shorter nav names for tutorials while maintaining SEO titles #6028

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions website/docs/feature-flag-tutorials/react/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: React Feature Flag Examples
slug: /feature-flag-tutorials/react/examples
---

# React Feature Flag Examples

In our [React tutorial](/feature-flag-tutorials/react), we implemented a simple on/off feature flag that could be turned on and off. In the real world, many feature flag use cases have more nuance than this. This document will walk you through some common examples of using feature flags in React with some of those more advanced use cases in mind.

Applications evolve, and teams must manage all aspects of this evolution, including the flags used to control the application. We built multiple features into Unleash to address the complexities of releasing code and managing feature flags along the way:
Expand Down
22 changes: 17 additions & 5 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,38 @@ module.exports = {
items: [
{
type: 'category',
label: 'How to Implement Feature Feature Flags in React',
label: 'React',
link: {
type: 'doc',
id: 'feature-flag-tutorials/react/implementing-feature-flags',
},
items: [
'feature-flag-tutorials/react/examples',
{
type: 'doc',
label: 'Examples',
id: 'feature-flag-tutorials/react/examples',
},
],
},
{
type: 'category',
label: 'How to Implement Feature Flags in Python',
label: 'Python',
link: {
type: 'doc',
id: 'feature-flag-tutorials/python/implementing-feature-flags',
},
items: [],
},
'feature-flag-tutorials/flutter/a-b-testing',
'feature-flag-tutorials/nextjs/implementing-feature-flags',
{
type: 'doc',
label: 'Flutter',
id: 'feature-flag-tutorials/flutter/a-b-testing',
},
{
type: 'doc',
label: 'Next.js',
id: 'feature-flag-tutorials/nextjs/implementing-feature-flags',
},
],
},
{
Expand Down
Loading