Skip to content

Commit

Permalink
Changes to properly add a subsection in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmaguitar committed Jul 24, 2024
1 parent f3a383a commit 7daf260
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,18 @@
"markdown_source": "../docs/reference-guides/interactivity-api/README.md",
"parent": "reference-guides"
},
{
"title": "Core Concepts",
"slug": "core-concepts",
"markdown_source": "../docs/reference-guides/interactivity-api/core-concepts/README.md",
"parent": "interactivity-api"
},
{
"title": "The Reactive and Declarative mindset",
"slug": "the-reactive-and-declarative-mindset",
"markdown_source": "../docs/reference-guides/interactivity-api/core-concepts/the-reactive-and-declarative-mindset.md",
"parent": "core-concepts"
},
{
"title": "Quick start guide",
"slug": "iapi-quick-start-guide",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Core Concepts

This section provides some guides on important concepts and mental models related to the Int block development. Use the following links to learn more:

1. **[The Reactive and Declarative mindset](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/the-reactive-and-declarative-mindset):** This guide covers core concepts of reactivity and declarativeness, providing a foundation for effective use of the Interactivity API.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# The Reactive and Declarative mindset

The Interactivity API is a reactive and declarative framework, similar to other modern frameworks like React, Vue, Svelte, or Alpine. When working with the Interactivity API, adopting the right mindset is crucial for maximizing its potential. This guide will explain the core concepts of reactivity and declarativeness, providing a foundation for effective use of the Interactivity API.

## Understanding Declarative vs. Imperative Code
Expand Down
7 changes: 7 additions & 0 deletions docs/toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@
},
{
"docs/reference-guides/interactivity-api/README.md": [
{
"docs/reference-guides/interactivity-api/core-concepts/README.md": [
{
"docs/reference-guides/interactivity-api/core-concepts/the-reactive-and-declarative-mindset.md": []
}
]
},
{
"docs/reference-guides/interactivity-api/iapi-quick-start-guide.md": []
},
Expand Down

0 comments on commit 7daf260

Please sign in to comment.