This repository was archived by the owner on Dec 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ Supported templates are:
6363
6464- [ ` InstantSearch.js ` ] [ instantsearchjs-github ]
6565- [ ` React InstantSearch ` ] [ react-instantsearch-github ]
66+ - [ ` React InstantSearch Native ` ] [ react-instantsearch-github ]
6667- [ ` Vue InstantSearch ` ] [ vue-instantsearch-github ]
6768- [ ` Angular InstantSearch ` ] [ angular-instantsearch-github ]
6869
@@ -111,17 +112,24 @@ const app = createInstantSearchApp('~/lab/my-app', {
111112app .create ().then (() => console .log (' App generated!' ));
112113```
113114
114- ### Tasks
115+ ### Lifecycle
115116
116117The app generation follows this lifecycle:
117118
119+ ![ Lifecycle] ( https://user-images.githubusercontent.com/6137112/41421858-f838c2a6-6ff7-11e8-8cef-4cc07f1f4f44.png )
120+
121+ <details >
122+ <summary >Alternative text</summary >
123+
1181241 . ** Setup**
1191252 . ** Build**
1201263 . ** Install**
121- 4 . (** Clean** ) _ if the project generation fails_
127+ 4 . (** Clean** ) _ if the installation fails_
1221285 . ** Teardown**
123129
124- Each task can be plugged to the third argument of the call ` createInstantSearchApp(path, options?, tasks?) ` .
130+ </details >
131+
132+ Each task can be plugged to the third argument of ` createInstantSearchApp(path, options?, tasks?) ` and is passed the configuration of the app.
125133
126134<h6 align =" center " >Tasks example</h6 >
127135
You can’t perform that action at this time.
0 commit comments