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
**ReacType** is a visual prototyping tool for developers employing **React** component architecture alongside the comprehensive type checking of **TypeScript**.
10
+
**ReacType** is a visual prototyping tool for developers employing **React** component architecture alongside the comprehensive type checking of **TypeScript**.
10
11
In other words, **you can draw prototypes and export React / Typescript code!**
11
12
12
13
**ReacType** allows the user to _visualize_ their application architecture dynamically, employing a _canvas display_, an _application tree_, and a _real-time component code preview_. The user can create components and load _instances_ of these components, as well as nested HTML elements, onto the canvas. This architecture can then be _exported_ as TypeScript application files to be used as a starter template for any repository.
13
14
14
-
Download for [MacOS](https://github.com/team-reactype/ReacType/releases/tag/Mac.Version.1.0), [Windows](https://github.com/team-reactype/ReacType/releases/tag/Win.Version.1.0), [Linux](https://github.com/team-reactype/ReacType/releases/tag/Linux.Version.1.0).
15
+
**New with version 2.0:**
16
+
- React Native mode for iOS/Andoird app design
17
+
- Hooks integration with functional components
18
+
- History navigation
19
+
- Tutorial mode
20
+
- New keyboard shortcuts
21
+
- Editable code preview
22
+
- Prop value designation for component children
23
+
24
+
Download for [MacOS](https://github.com/team-reactype/ReacType/releases), [Windows](https://github.com/team-reactype/ReacType/releases/), [Linux](https://github.com/team-reactype/ReacType/releases/).
25
+
26
+
***Mac users**: for now you might need to go to your security settings to allow the app run on your system as we do not have an Apple license yet.
15
27
16
-
-**Mac users**: for now you might need to go to your security settings to allow the app run on your system as we do not have an Apple license yet.
28
+
***Linux users**: run the application as a super user in order to read and write files.
17
29
18
-

30
+

19
31
20
32
### How to use
21
33
22
34
- Open the application to start a new project. It will open in the root App component, with its name listed in the left panel and the component represented by the white box on the canvas.
35
+
- Switch to React Native mode to change the interface to a mobile app development environment
23
36
- To add a new component, type its name in the upper left panel, in the field '**Add class component**', and press enter.
24
37
- To render a component **_instance_** to the screen, first select the component, or _parent_, that the instance will be rendered within. This selected component will be represented in a new canvas view, with its own white box. Then press the plus button next to the component name. An instance, or _child_, representation will appear on the canvas.
25
38
- To add draggable **HTML elements**, select the image icons on the lower left panel.
26
39
27
-

40
+

28
41
29
42
- The bottom panel allows the user to toggle between 4 different views: a **tree diagram of the application**, a **real-time preview of the exportable code**, a form to enter component props, and a form to add HTML attributes.
30
43
31
-

32
-
33
44
-**_Props_** can be added to each component within its tab on bottom panel. Enter in a _key-value pair_, select its data _type_ and press the bottom 'ADD PROP'.
34
45
-**_HTML Element Attributes_** of class name and ID can be added to each HTML element after an HTML element has been rendered to the canvas.
35
46
36
-

47
+

37
48
38
49
- To **_delete_** a _child_ or instance from the canvas, select the desired instance and either press the _delete_ key.
39
50
- To **_delete_** a _component_, click the 'DELETE' button of the desired component in the left panel.
@@ -46,6 +57,7 @@ Download for [MacOS](https://github.com/team-reactype/ReacType/releases/tag/Mac.
46
57
1. Export a new project with TypeScript config files and the component files. This option will allow a developer to immediately begin a new project.
This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/team-reactype/ReacType/blob/development/LICENSE.md) file for details.
97
+
```bash
98
+
yarn install
99
+
```
100
+
101
+
- Run application
102
+
103
+
```bash
104
+
yarn start
105
+
```
106
+
107
+
- For development experience, in one terminal...
79
108
109
+
```bash
110
+
yarn run dev
80
111
```
81
112
113
+
- and on another terminal
114
+
115
+
```bash
116
+
yarn run electron
82
117
```
118
+
119
+
## License
120
+
121
+
This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/team-reactype/ReacType/blob/development/LICENSE.md) file for details.
0 commit comments