Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/michijs/dev-server…
Browse files Browse the repository at this point in the history
…-0.7.24
  • Loading branch information
lsegurado authored Nov 29, 2024
2 parents 281d26e + 19e9a15 commit 8db3c13
Show file tree
Hide file tree
Showing 4 changed files with 1,160 additions and 3 deletions.
6 changes: 5 additions & 1 deletion jekyll-src/Next.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,17 @@ It provides more flexibility in organizing code and separates concerns by allowi

### Basic hooks
#### useObserve
Responsible for observing changes on different types of values. Takes two arguments:
Responsible for observing changes on different types of values. Takes one argument:
- **item**: The value to be observed.

This is the most basic hook and it is the basis of the entire component structure.

If the item contains a function, it will return an observable that observes for changes in the object itself.

#### useObservePrimitive
Unproxied version of useObserve. Similar to [tc39 signals proposal](https://github.com/tc39/proposal-signals). Takes one argument:
- **item**: The value to be observed.

**A function in an observable should never mutate the observable.**

#### usePureFunction
Expand Down
6 changes: 5 additions & 1 deletion jekyll-src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,17 @@ It provides more flexibility in organizing code and separates concerns by allowi

### Basic hooks
#### useObserve
Responsible for observing changes on different types of values. Takes two arguments:
Responsible for observing changes on different types of values. Takes one argument:
- **item**: The value to be observed.

This is the most basic hook and it is the basis of the entire component structure.

If the item contains a function, it will return an observable that observes for changes in the object itself.

#### useObservePrimitive
Unproxied version of useObserve. Similar to [tc39 signals proposal](https://github.com/tc39/proposal-signals). Takes one argument:
- **item**: The value to be observed.

**A function in an observable should never mutate the observable.**

#### usePureFunction
Expand Down
Loading

0 comments on commit 8db3c13

Please sign in to comment.