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
{{ message }}
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
<imgsrc="https://raw.githubusercontent.com/agile-ts/agile/master/packages/react/static/what_does_this_integration_header.png"alt="What does this Integration?"/>
22
22
23
-
The `react` package helps us to integrate AgileTs into a [React](https://reactjs.org/) environment
24
-
and serves as an Interface to React.
25
-
Its main task is to bind States to React Components.
26
-
This binding ensures that AgileTs rerender the Component whenever a bound State mutates.
27
-
It also offers some other valuable functionalities that optimize the workflow using AgileTs in a React project.
23
+
The `react` package is a set of utilities that simplifies the way AgileTs is integrated into a [React](https://reactjs.org/) environment.
24
+
Think of it as an extension of AgileTs in the context of React
25
+
that serves as an interface to React Components.
26
+
The main task of the `react` integration is to bind AgileTs States to React Components.
27
+
This ensures that AgileTs will re-render the Component when the bound State changes.
28
+
It also provides some other valuable functionalities
29
+
that optimize the workflow with AgileTs in a React project.
28
30
29
-
A distinction is made between `Functional` and `Class` Components.
30
-
As we prefer to use [`React Hooks`](https://reactjs.org/docs/hooks-intro.html) in Functional Components
31
-
but Hooks aren't supported in Class Components.
32
-
Therefore, we have created alternatives for Class Components in order to offer the same functionalities there as well.
31
+
A distinction is made between `Functional` and `Class` React Components.
32
+
As we prefer to use [`React Hooks`](https://reactjs.org/docs/hooks-intro.html) in Functional Components,
33
+
however, Hooks aren't supported in Class Components.
34
+
Therefore, we have created alternatives for Class Components
35
+
in order to offer the most essential functionalities there as well.
33
36
34
37
### 🐆 Functional Component
35
-
In Functional Components we recommend using AgileTs Hooks like [`useAgile()`](https://agile-ts.org/docs/react/hooks/#useagile).
38
+
In `Functional Components` we recommend using AgileTs Hooks like [`useAgile()`](https://agile-ts.org/docs/react/hooks/#useagile).
36
39
The `useAgile()` Hook binds [Agile Sub Instances](https://agile-ts.org/docs/introduction#agile-sub-instance)
37
-
(like States or Collections) to React Components.
40
+
(like States or Collections) to React Components for reactivity.
0 commit comments