You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-96Lines changed: 0 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ English | [简体中文](./README.CN.md)
9
9
- 🐲 [OMI Form](https://omi.cdn-go.cn/form/latest/docs/) & [OMI Form Playground](https://omi.cdn-go.cn/form/latest/play/) & [Lucide Omi Icons](https://github.com/omijs/lucide-omi)
10
10
- ⚡ **Tiny** size, **Fast** performance
11
11
- 🌐 Everything you need: **Web Components**, **JSX**, Function Components, Router, Suspense, Directive, Tailwindcss...
12
-
- 💯 Both **object** oriented programming(OOP) and **data** oriented programming(DOP) are supported
13
12
- 💒 Harness **Constructable Stylesheets** to easily manage and share styles
14
13
15
14
```tsx
@@ -210,101 +209,6 @@ class TodoList extends Component {
210
209
render(<todo-list />, document.body)
211
210
```
212
211
213
-
214
-
### TodoApp with Signal Class
215
-
216
-
> Object oriented programming
217
-
218
-
In object-oriented programming, the focus is on the objects, which contain both data and methods to operate on the data. This programming paradigm emphasizes the interaction and cooperation between objects, and how to organize and manage code through object encapsulation, inheritance, and polymorphism. The TodoApp with reactivity functions can also be implemented in an object-oriented way, for example, by creating a TodoList class that contains the data of the to-do list and methods to operate on this data, as well as a `update` method to update the UI.
Copy file name to clipboardExpand all lines: packages/omi/README.md
-94Lines changed: 0 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@
6
6
- 🐲 [OMI Form](https://omi.cdn-go.cn/form/latest/docs/) & [OMI Form Playground](https://omi.cdn-go.cn/form/latest/play/) & [Lucide Omi Icons](https://github.com/omijs/lucide-omi)
7
7
- ⚡ **Tiny** size, **Fast** performance
8
8
- 🌐 Everything you need: **Web Components**, **JSX**, Function Components, Router, Suspense, Directive, Tailwindcss...
9
-
- 💯 Both **object** oriented programming(OOP) and **data** oriented programming(DOP) are supported
10
9
- 💒 Harness **Constructable Stylesheets** to easily manage and share styles
11
10
12
11
```tsx
@@ -207,99 +206,6 @@ class TodoList extends Component {
207
206
render(<todo-list />, document.body)
208
207
```
209
208
210
-
211
-
### TodoApp with Signal Class
212
-
213
-
> Object oriented programming
214
-
215
-
In object-oriented programming, the focus is on the objects, which contain both data and methods to operate on the data. This programming paradigm emphasizes the interaction and cooperation between objects, and how to organize and manage code through object encapsulation, inheritance, and polymorphism. The TodoApp with reactivity functions can also be implemented in an object-oriented way, for example, by creating a TodoList class that contains the data of the to-do list and methods to operate on this data, as well as a `update` method to update the UI.
0 commit comments