# Can we expect some improvement of documentation

**URL:** <https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269>\
**Category:** Dojo 2+ users\
**Created:** [September 2, 2018, 9:39am UTC](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269 "2018-09-02T09:39:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radouch](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@Radouch](https://discourse.dojo.io/u/Radouch)\
**Post date:** [September 2, 2018, 9:39am UTC](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269/1 "2018-09-02T09:39:42Z")

</div>

I have tried to use @dojo/framework/request according to [https://dojo.io/docs/index.html#doc--dojo\_\_framework\_\_v3\_0\_0\_\_src\_\_core\_\_README\_md--docs\_\_core\_\_request\_md--making-requests](https://dojo.io/docs/index.html#doc--dojo __framework__ v3_0_0 __src__ core __README_md--docs__ core__request_md--making-requests)  
`const foo = request("/export/foo",{}).then(response =>response.json());`  
It causes:  
`errors: ./node_modules/@dojo/framework/core/request.mjs Module build failed: Error: Line 40: Unexpected token ( at ErrorHandler.constructError`

I have tried to use @dojo/framework/on following docs at  
[https://dojo.io/docs/index.html#doc--dojo\_\_framework\_\_v3\_0\_0\_\_src\_\_core\_\_README\_md--docs\_\_core\_\_on\_md--docs\_\_core\_\_on\_md](https://dojo.io/docs/index.html#doc--dojo __framework__ v3_0_0 __src__ core __README_md--docs__ core __on_md--docs__ core__on_md)  
`import {on} from '@dojo/framework/core/on';`  
Result:  
`[...]/node_modules/@dojo/framework/core/on"' has no exported member 'on'.`

I am really afraid that Dojo2+ is not ready for use yet. Sorry for my a bit frustrated words, but I am a bit frustrated… 🙂

---

<div class="post-metadata">

**Author:** ![JamesMilner](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@JamesMilner](https://discourse.dojo.io/u/JamesMilner)\
**Post date:** [September 4, 2018, 4:11pm UTC](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269/2 "2018-09-04T16:11:11Z")

</div>

Hi @Radouch, thanks for your post. Sorry to hear you’ve been having problems with the request and on modules. We are always looking to improve our documentation and guidance for developers, so thanks for bringing this to our attention. It could be tricky deduce exactly what’s going on in your development environment, so what I’ve created a minimal reproduction of how to use request using CodeSandbox which you can find here: [https://codesandbox.io/s/4j2wk0nnww](https://codesandbox.io/s/4j2wk0nnww) . If you need help with the on module also let me know.

---

<div class="post-metadata">

**Author:** ![kikipo](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@kikipo](https://discourse.dojo.io/u/kikipo)\
**Post date:** [January 12, 2019, 7:42pm UTC](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269/3 "2019-01-12T19:42:07Z")

</div>

It would be good to have versioning on the documentation and the sandbox so users can be sure the two are in sync.

See Elasticsearch for a good example:

- [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs.html)
- same link but current - \> 6.4
- current - \> 5.1

BTW, the tutorial at [https://dojo.io/tutorials/001\_static\_content/](https://dojo.io/tutorials/001_static_content/) seems wrong in this way. If you create your first application with the cli, it doesn’t have the biz e bodies demo that is referenced in the tutorial. That’s why I make this suggestion.

Thanks
