Skip to content

Commit

Permalink
chg: /developer/typescript restructure based on review (#149)
Browse files Browse the repository at this point in the history
Co-authored-by: Armando Salazar <[email protected]>
  • Loading branch information
heysokam and armando-salazar authored Apr 3, 2024
1 parent ce3ae50 commit a53be7f
Show file tree
Hide file tree
Showing 33 changed files with 78 additions and 17 deletions.
6 changes: 6 additions & 0 deletions docs/developer/typescript/02_basics/03_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
sidebar_label: State
---

<!--
TODO:
This page should be introductory, but it has expanded too much.
Most of these explanations/concepts should be moved to the /developer/typescript/state section.
-->

import { TechnicalNote } from '@site/src/components/TechnicalNote';

# State Management
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
draft: true
---

# Logic vs Data
<!--
TODO
@note
Really important page. Must be taught early.
The reader must be aware of this when they expand their Core Concepts knowledge.
Explains:
- Differences
- How each concept (components, systems, reactors, ...) fits into this idea
-->

This file was deleted.

5 changes: 5 additions & 0 deletions docs/developer/typescript/04_state/50_reactors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
draft: true
---

# Reactors
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
draft: true
---


# State Management
All of Ethereal Engine's state management uses [Hookstate](https://hookstate.js.org/) and [React](https://react.dev/).
Together, these tools give reactive, declarative, and controlled state management across any scope.
Expand Down
17 changes: 17 additions & 0 deletions docs/developer/typescript/04_state/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
draft: true
---

import DocCardList from '@theme/DocCardList'

# State Management
<!--
TODO:
Divide the early sketch at /developer/typescript/basics/state into introduction+explanation.
Move the in-depth explanations into this section.
- [ ] State management
- [ ] New synchronous state API
-->

<DocCardList />
1 change: 1 addition & 0 deletions docs/developer/typescript/05_ecs/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
position: 05
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/developer/typescript/40_inputs/01_spatial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
draft: true
---

# Spatial Inputs
5 changes: 5 additions & 0 deletions docs/developer/typescript/40_inputs/02_interactionSystem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
draft: true
---

# Interaction System
5 changes: 5 additions & 0 deletions docs/developer/typescript/40_inputs/03_grabbables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
draft: true
---

# Grabbables
9 changes: 9 additions & 0 deletions docs/developer/typescript/40_physics/50_triggers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
draft: true
---

# Triggers
<!--
TODO:
-->

8 changes: 8 additions & 0 deletions docs/developer/typescript/40_physics/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
draft: true
---

# Physics
<!--
TODO:
-->
10 changes: 0 additions & 10 deletions docs/developer/typescript/40_reactivity/index.md

This file was deleted.

0 comments on commit a53be7f

Please sign in to comment.