@wordpress/element 4.1.0 → 4.1.1-next.f435e9e01b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -49,9 +49,9 @@ Refer to the [official React Quick Start guide](https://reactjs.org/docs/hello-w
|
|
|
49
49
|
|
|
50
50
|
## Why React?
|
|
51
51
|
|
|
52
|
-
At the risk of igniting debate surrounding any single "best" front-end framework, the choice to use any tool should be motivated specifically to serve the requirements of the system. In modeling the concept of a [block](/packages/blocks/README.md), we observe the following technical requirements:
|
|
52
|
+
At the risk of igniting debate surrounding any single "best" front-end framework, the choice to use any tool should be motivated specifically to serve the requirements of the system. In modeling the concept of a [block](https://github.com/WordPress/gutenberg/tree/HEAD/packages/blocks/README.md), we observe the following technical requirements:
|
|
53
53
|
|
|
54
|
-
- An understanding of a block in terms of its underlying values (in the [random image example](/packages/blocks/README.md#example), a category)
|
|
54
|
+
- An understanding of a block in terms of its underlying values (in the [random image example](https://github.com/WordPress/gutenberg/tree/HEAD/packages/blocks/README.md#example), a category)
|
|
55
55
|
- A means to describe the UI of a block given these values
|
|
56
56
|
|
|
57
57
|
At its most basic, React provides a simple input / output mechanism. **Given a set of inputs ("props"), a developer describes the output to be shown on the page.** This is most elegantly observed in its [function components](https://reactjs.org/docs/components-and-props.html#functional-and-class-components). React serves the role of reconciling the desired output with the current state of the page.
|
|
@@ -416,4 +416,10 @@ _Related_
|
|
|
416
416
|
|
|
417
417
|
<!-- END TOKEN(Autogenerated API docs) -->
|
|
418
418
|
|
|
419
|
-
|
|
419
|
+
## Contributing to this package
|
|
420
|
+
|
|
421
|
+
This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/) and used by [WordPress](https://make.wordpress.org/core/) as well as other software projects.
|
|
422
|
+
|
|
423
|
+
To find out more about contributing to this package or Gutenberg as a whole, please read the project's main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md).
|
|
424
|
+
|
|
425
|
+
<br /><br /><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/element",
|
|
3
|
-
"version": "4.1.0",
|
|
3
|
+
"version": "4.1.1-next.f435e9e01b.0",
|
|
4
4
|
"description": "Element React module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@babel/runtime": "^7.16.0",
|
|
32
32
|
"@types/react": "^17.0.37",
|
|
33
33
|
"@types/react-dom": "^17.0.11",
|
|
34
|
-
"@wordpress/escape-html": "^2.3.0",
|
|
34
|
+
"@wordpress/escape-html": "^2.3.1-next.f435e9e01b.0",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
36
36
|
"react": "^17.0.2",
|
|
37
37
|
"react-dom": "^17.0.2"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "14b2846015dfb1b440ce93accdd03842ebe5f1cd"
|
|
43
43
|
}
|