Skip to content

Commit

Permalink
iAPI Docs: The first three Core Concepts guides (#63759)
Browse files Browse the repository at this point in the history
* Initial version

* Convert all tabs to spaces (except in non-PHP code snippets)

* Initial SSR guide version

* Initial version

* Changes to properly add a subsection in the docs

* Reorganize headers a bit

* Add titles (are they necessary?)

* Reorganize SSR sections

* Use async handlers and update state/context guide

* Finish review of the Declarative/reactive guide

* Remove last "we's"

* added manifest and toc data and intro to guides

* Final revision

* Fix typos

Co-authored-by: Damon Cook <[email protected]>

---------

Co-authored-by: luisherranz <[email protected]>
Co-authored-by: juanmaguitar <[email protected]>
Co-authored-by: colorful-tones <[email protected]>
  • Loading branch information
4 people authored Aug 19, 2024
1 parent 2862f2d commit ade27ac
Show file tree
Hide file tree
Showing 6 changed files with 1,577 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,30 @@
"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": "Understanding global state, local context and derived state",
"slug": "undestanding-global-state-local-context-and-derived-state",
"markdown_source": "../docs/reference-guides/interactivity-api/core-concepts/undestanding-global-state-local-context-and-derived-state.md",
"parent": "core-concepts"
},
{
"title": "Server-side rendering: Processing directives on the server",
"slug": "server-side-rendering",
"markdown_source": "../docs/reference-guides/interactivity-api/core-concepts/server-side-rendering.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,9 @@
# Core Concepts

This section provides some guides on important concepts and mental models related to Interactivity API 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.

2. **[Understanding global state, local context and derived state](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/undestanding-global-state-local-context-and-derived-state):** The guide explains how to effectively use global state, local context, and derived state within the Interactivity API emphasizing the importance of choosing the appropriate state management technique based on the scope and requirements of your data.

3. **[Server-side rendering: Processing directives on the server](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/server-side-rendering):** The Interactivity API allows WordPress to use server-side rendering to create interactive and state-aware HTML, smoothly connected with client-side features while maintaining performance and SEO benefits.
Loading

0 comments on commit ade27ac

Please sign in to comment.