# Dojo 2+ users

**URL:** https://discourse.dojo.io/c/dojo2/7.md

[Latest](https://discourse.dojo.io/latest.md) · [Categories](https://discourse.dojo.io/categories.md)

---

## [About the Dojo 2+ users category](https://discourse.dojo.io/t/about-the-dojo-2-users-category/18)

<div class="topic-metadata">

**Author:** [@dylan](https://discourse.dojo.io/u/dylan)\
**Replies:** 2\
**Last updated:** [October 4, 2018, 11:36am UTC](https://discourse.dojo.io/t/about-the-dojo-2-users-category/18 "2018-10-04T11:36:39Z")

</div>

This category is for questions about using Dojo 2.0 and newer.

---

## [How to Implement Lazy Loading for Nested Routes in Dojo 2+?](https://discourse.dojo.io/t/how-to-implement-lazy-loading-for-nested-routes-in-dojo-2/638)

<div class="topic-metadata">

**Author:** [@sosofa](https://discourse.dojo.io/u/sosofa)\
**Replies:** 0\
**Last updated:** [November 16, 2024, 11:33am UTC](https://discourse.dojo.io/t/how-to-implement-lazy-loading-for-nested-routes-in-dojo-2/638 "2024-11-16T11:33:01Z")

</div>

Hello I am working on a Dojo 2+ application & want to optimize performance by implementing lazy loading for nested routes. While I have managed to set up basic lazy loading for primary routes using @dojo/routing; I am f…

---

## [Best practice for upgrading / migrating from dojo 1.10.4 to 8.0.0](https://discourse.dojo.io/t/best-practice-for-upgrading-migrating-from-dojo-1-10-4-to-8-0-0/612)

<div class="topic-metadata">

**Author:** [@Michael](https://discourse.dojo.io/u/Michael)\
**Replies:** 1\
**Last updated:** [November 28, 2022, 11:31am UTC](https://discourse.dojo.io/t/best-practice-for-upgrading-migrating-from-dojo-1-10-4-to-8-0-0/612 "2022-11-28T11:31:26Z")

</div>

Dear dojo team, i´m working since 2015 with dojo 1.10.4 on a hybrid project. It´s a SPA targeting 3 use-cases: desktop-browser Android App iOS App I´m using apache-cordova for deploying on the mobile platforms. I was…

---

## [I don't see official download link for Dojo 2.\* version](https://discourse.dojo.io/t/i-dont-see-official-download-link-for-dojo-2-version/602)

<div class="topic-metadata">

**Author:** [@bvelampa](https://discourse.dojo.io/u/bvelampa)\
**Replies:** 0\
**Last updated:** [June 17, 2022, 7:15am UTC](https://discourse.dojo.io/t/i-dont-see-official-download-link-for-dojo-2-version/602 "2022-06-17T07:15:51Z")

</div>

Please guide me download link of Dojo toolkit 2.\* version. Is Dojo 2.\* officially supported?

---

## [Dojo 2 Wizard Widget: Missing?](https://discourse.dojo.io/t/dojo-2-wizard-widget-missing/530)

<div class="topic-metadata">

**Author:** [@peebeekay](https://discourse.dojo.io/u/peebeekay)\
**Replies:** 0\
**Last updated:** [October 11, 2020, 10:32am UTC](https://discourse.dojo.io/t/dojo-2-wizard-widget-missing/530 "2020-10-11T10:32:13Z")

</div>

I found this https://widgets.dojo.io/#widget/wizard/overview recently and was excited because (1) I had no idea a Wizard widget existed and (2) my company is in the process of moving a moderately-large, mature Dojo 1 app…

---

## [Is the Dojo 1.X dojox.html.styles API gone?](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512)

<div class="topic-metadata">

**Author:** [@tomelam](https://discourse.dojo.io/u/tomelam)\
**Replies:** 2\
**Last updated:** [August 16, 2020, 5:42am UTC](https://discourse.dojo.io/t/is-the-dojo-1-x-dojox-html-styles-api-gone/512 "2020-08-16T05:42:46Z")

</div>

Hi, folks. I thought dojox.html.styles was pretty neat. It allows stylesheets to be dynamic. (See the just-restored article https://www.sitepen.com/blog/dynamic-stylesheets-part-1/ and my fix for its broken link to Doj…

---

## [Dojo toolkit application with Dojo2](https://discourse.dojo.io/t/dojo-toolkit-application-with-dojo2/498)

<div class="topic-metadata">

**Author:** [@uhgar](https://discourse.dojo.io/u/uhgar)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 10:38pm UTC](https://discourse.dojo.io/t/dojo-toolkit-application-with-dojo2/498 "2020-08-15T22:38:31Z")

</div>

Hello All, I have given task to explore migrating Dojo toolkit(old) application to Dojo2(new), They were suggesting that instead of re-writing all dojo toolkit modules can we use the same inside Dojo2. I gone through Do…

---

## [Dojo 2 declarative sintax](https://discourse.dojo.io/t/dojo-2-declarative-sintax/510)

<div class="topic-metadata">

**Author:** [@chusvp](https://discourse.dojo.io/u/chusvp)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 10:36pm UTC](https://discourse.dojo.io/t/dojo-2-declarative-sintax/510 "2020-08-15T22:36:03Z")

</div>

Hello! I’ve used Dojo 1 several years ago with a great success. I’m no thinking in use version 2+, but I used declarative sintax a lot. It’s possible to use in Dojo 2+ this kind of sintax? In fact, at last in Dojo 1, I…

---

## [Free Text Search in filtering select](https://discourse.dojo.io/t/free-text-search-in-filtering-select/506)

<div class="topic-metadata">

**Author:** [@kinder15](https://discourse.dojo.io/u/kinder15)\
**Replies:** 1\
**Last updated:** [July 21, 2020, 11:25am UTC](https://discourse.dojo.io/t/free-text-search-in-filtering-select/506 "2020-07-21T11:25:11Z")

</div>

Hi , I am using filtering select where dropdown is having large values so when i search for text it only searches for First letter of dropdown which is also in capital . so now i have 2 concerns 1- if put any text tha…

---

## [How to download Dojo 2.0](https://discourse.dojo.io/t/how-to-download-dojo-2-0/467)

<div class="topic-metadata">

**Author:** [@uhgar](https://discourse.dojo.io/u/uhgar)\
**Replies:** 3\
**Last updated:** [January 30, 2020, 7:28am UTC](https://discourse.dojo.io/t/how-to-download-dojo-2-0/467 "2020-01-30T07:28:13Z")

</div>

Hi, I am 5 months old Dojo user. The latest version of dojo release is Dojo 1.16 on November 29th. I am currenlty working on Dojo version 1.13. So where can I download Dojo 2 and how to check what are the things Dojo 2 …

---

## [Dojo 2+ Jason Request into Grid](https://discourse.dojo.io/t/dojo-2-jason-request-into-grid/441)

<div class="topic-metadata">

**Author:** [@jammpo](https://discourse.dojo.io/u/jammpo)\
**Replies:** 0\
**Last updated:** [July 31, 2019, 10:01am UTC](https://discourse.dojo.io/t/dojo-2-jason-request-into-grid/441 "2019-07-31T10:01:09Z")

</div>

I’m looking for a solution to get a REST request for example https://jsonplaceholder.typicode.com/todos/1. now i want to put the Response json into a Grid. Can someone help me ?

---

## [Using local copy of @dojo/widgets](https://discourse.dojo.io/t/using-local-copy-of-dojo-widgets/428)

<div class="topic-metadata">

**Author:** [@thomas](https://discourse.dojo.io/u/thomas)\
**Replies:** 5\
**Last updated:** [June 24, 2019, 2:57am UTC](https://discourse.dojo.io/t/using-local-copy-of-dojo-widgets/428 "2019-06-24T02:57:23Z")

</div>

Hi, I would really like to contribute to Dojo2+, but I’m still struggling with getting a local copy of a repo (@dojo/widgets in my case) to be used in my application. Tried “grunt dist” and “grunt dev” in the repo and …

---

## [How is Dojo 2+ trending?](https://discourse.dojo.io/t/how-is-dojo-2-trending/341)

<div class="topic-metadata">

**Author:** [@byersa](https://discourse.dojo.io/u/byersa)\
**Replies:** 17\
**Last updated:** [June 7, 2019, 1:22pm UTC](https://discourse.dojo.io/t/how-is-dojo-2-trending/341 "2019-06-07T13:22:32Z")

</div>

Is it still too early to tell? Does 2+ have buy-ins from companies that are too big to let 2+ fail? Are there any metrics available?

---

## [Setting background color for a widget](https://discourse.dojo.io/t/setting-background-color-for-a-widget/422)

<div class="topic-metadata">

**Author:** [@thomas](https://discourse.dojo.io/u/thomas)\
**Replies:** 8\
**Last updated:** [June 7, 2019, 12:40pm UTC](https://discourse.dojo.io/t/setting-background-color-for-a-widget/422 "2019-06-07T12:40:25Z")

</div>

Dear Dojo 2+ users, I’m looking for a way to manually set the background color for a Button widget. Using a static stylesheet is not an option. The color is stored as RGB value in a database and might be different for …

---

## [Column Width in @dojo/widgets/grid](https://discourse.dojo.io/t/column-width-in-dojo-widgets-grid/399)

<div class="topic-metadata">

**Author:** [@thomas](https://discourse.dojo.io/u/thomas)\
**Replies:** 2\
**Last updated:** [May 21, 2019, 9:47pm UTC](https://discourse.dojo.io/t/column-width-in-dojo-widgets-grid/399 "2019-05-21T21:47:00Z")

</div>

Hi, I’m playing around with @dojo/widgets/grid and I wonder how I can possibly set the widths of the columns. In the default configuration all columns seem to have the same width, the data inside is of variable width. T…

---

## [Functional intern tests for Dojo5](https://discourse.dojo.io/t/functional-intern-tests-for-dojo5/377)

<div class="topic-metadata">

**Author:** [@lullaby](https://discourse.dojo.io/u/lullaby)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 2:53pm UTC](https://discourse.dojo.io/t/functional-intern-tests-for-dojo5/377 "2019-02-20T14:53:31Z")

</div>

I am used to write FUNCTIONAL Intern tests for “regular” webpages and only basic knowledge of tests of dojo1 applications. Now I’m supposed to write tests for a dojo5 app and I am at my limit of understanding how to get …

---

## [Is it possible to create app with more web pages?](https://discourse.dojo.io/t/is-it-possible-to-create-app-with-more-web-pages/265)

<div class="topic-metadata">

**Author:** [@Radouch](https://discourse.dojo.io/u/Radouch)\
**Replies:** 2\
**Last updated:** [February 18, 2019, 11:40am UTC](https://discourse.dojo.io/t/is-it-possible-to-create-app-with-more-web-pages/265 "2019-02-18T11:40:14Z")

</div>

I am probably missing some basic understanding of Dojo 2+ concept. When a new Dojo 2+ application is created by dojo create app --name my-app command there is only one HTML file index.html in the src folder. All widge…

---

## [Public prod pages written with dojo2+?](https://discourse.dojo.io/t/public-prod-pages-written-with-dojo2/369)

<div class="topic-metadata">

**Author:** [@kikipo](https://discourse.dojo.io/u/kikipo)\
**Replies:** 1\
**Last updated:** [January 12, 2019, 7:43pm UTC](https://discourse.dojo.io/t/public-prod-pages-written-with-dojo2/369 "2019-01-12T19:43:17Z")

</div>

Are there good examples of a page written in dojo2+? Stupid question, maybe, is dojo.io written in dojo2+? Thanks, David

---

## [Can we expect some improvement of documentation](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269)

<div class="topic-metadata">

**Author:** [@Radouch](https://discourse.dojo.io/u/Radouch)\
**Replies:** 2\
**Last updated:** [January 12, 2019, 7:42pm UTC](https://discourse.dojo.io/t/can-we-expect-some-improvement-of-documentation/269 "2019-01-12T19:42:07Z")

</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 const foo = request("/export/foo",{}).…

---

## [Moving an app to codesandbox](https://discourse.dojo.io/t/moving-an-app-to-codesandbox/365)

<div class="topic-metadata">

**Author:** [@byersa](https://discourse.dojo.io/u/byersa)\
**Replies:** 0\
**Last updated:** [January 9, 2019, 5:18pm UTC](https://discourse.dojo.io/t/moving-an-app-to-codesandbox/365 "2019-01-09T17:18:55Z")

</div>

I got one of my apps working in my local environment following the tutorials and then I decided to see if I could port it to codesandbox. I followed the pattern I saw in: When I run it, I get: ModuleNotFoundError Co…

---

## [Delightful.JS is the unmentioned new Dojo!](https://discourse.dojo.io/t/delightful-js-is-the-unmentioned-new-dojo/347)

<div class="topic-metadata">

**Author:** [@PaulChristopher](https://discourse.dojo.io/u/PaulChristopher)\
**Replies:** 0\
**Last updated:** [January 6, 2019, 7:21pm UTC](https://discourse.dojo.io/t/delightful-js-is-the-unmentioned-new-dojo/347 "2019-01-06T19:21:27Z")

</div>

Just a quick note for all the old developpers returning to Dojo and checking out its successor: The original release candidate for Dojo 2, on which the IBM team had been working for quite some time until 2015, can be fo…

---

## [Noob question on project structure/including a logic class](https://discourse.dojo.io/t/noob-question-on-project-structure-including-a-logic-class/343)

<div class="topic-metadata">

**Author:** [@kikipo](https://discourse.dojo.io/u/kikipo)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 11:46am UTC](https://discourse.dojo.io/t/noob-question-on-project-structure-including-a-logic-class/343 "2019-01-05T11:46:46Z")

</div>

Hi, I have finally started playing with dojo 2+ today (I used Dojo 1 in the past). I am completely new to TypeScript and have only a little experience with Node. I am looking at the tutorials and I am wondering what t…

---

## [Module parse failed](https://discourse.dojo.io/t/module-parse-failed/339)

<div class="topic-metadata">

**Author:** [@byersa](https://discourse.dojo.io/u/byersa)\
**Replies:** 0\
**Last updated:** [December 18, 2018, 7:17pm UTC](https://discourse.dojo.io/t/module-parse-failed/339 "2018-12-18T19:17:10Z")

</div>

I get the following error: Module parse failed: Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export interface StatesInterface { | geoCodeAlpha2: string; | geoId: string; @ ./src/…

---

## [Example code for doing "Read More/Less" expand and contract?](https://discourse.dojo.io/t/example-code-for-doing-read-more-less-expand-and-contract/330)

<div class="topic-metadata">

**Author:** [@byersa](https://discourse.dojo.io/u/byersa)\
**Replies:** 1\
**Last updated:** [December 5, 2018, 9:15pm UTC](https://discourse.dojo.io/t/example-code-for-doing-read-more-less-expand-and-contract/330 "2018-12-05T21:15:11Z")

</div>

What would be the correct technique for implementing “Read More” and “Less” links that expand and contract content inline?

---

## [Talking with a rest api](https://discourse.dojo.io/t/talking-with-a-rest-api/322)

<div class="topic-metadata">

**Author:** [@SimonScholz](https://discourse.dojo.io/u/SimonScholz)\
**Replies:** 1\
**Last updated:** [December 4, 2018, 7:14pm UTC](https://discourse.dojo.io/t/talking-with-a-rest-api/322 "2018-12-04T19:14:06Z")

</div>

Hi guys, I followed your tutorials and I’d love to create a spa, which is capable of getting its data from a rest backend. In another topic Dylan mentioned your fetch api, but I cannot find any tutorials or documentati…

---

## [Equivalent to basePath in CLI?](https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324)

<div class="topic-metadata">

**Author:** [@byersa](https://discourse.dojo.io/u/byersa)\
**Replies:** 1\
**Last updated:** [November 20, 2018, 2:06am UTC](https://discourse.dojo.io/t/equivalent-to-basepath-in-cli/324 "2018-11-20T02:06:41Z")

</div>

When I generate code with cli-build-app I get the code in output that I expect, but when I go to replace the html code that I had in my java server paths it does not work because it cannot find the files referenced (eg. …

---

## [Is there a method to do some thing after render?](https://discourse.dojo.io/t/is-there-a-method-to-do-some-thing-after-render/317)

<div class="topic-metadata">

**Author:** [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Replies:** 1\
**Last updated:** [November 17, 2018, 12:47pm UTC](https://discourse.dojo.io/t/is-there-a-method-to-do-some-thing-after-render/317 "2018-11-17T12:47:33Z")

</div>

In React, we can do this: this.state = {foo: 2}; this.setState({foo: 123}, ()=\> { console.log(foo); // now foo is 123 // and we can do dom operation here }); and in Dojo2, how we can do dom operation after rerende…

---

## [Use react component in dojo2， has some interesting](https://discourse.dojo.io/t/use-react-component-in-dojo2-has-some-interesting/308)

<div class="topic-metadata">

**Author:** [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Replies:** 0\
**Last updated:** [November 2, 2018, 1:39am UTC](https://discourse.dojo.io/t/use-react-component-in-dojo2-has-some-interesting/308 "2018-11-02T01:39:56Z")

</div>

import WidgetBase from ‘@dojo/framework/widget-core/WidgetBase’; import { v, dom } from ‘@dojo/framework/widget-core/d’; import { tsx } from ‘@dojo/framework/widget-core/tsx’; import \* as css from ‘./styles/Home.m.css…

---

## [When use DgridWrapper, how to re render cells?](https://discourse.dojo.io/t/when-use-dgridwrapper-how-to-re-render-cells/304)

<div class="topic-metadata">

**Author:** [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Replies:** 0\
**Last updated:** [October 28, 2018, 2:46pm UTC](https://discourse.dojo.io/t/when-use-dgridwrapper-how-to-re-render-cells/304 "2018-10-28T14:46:59Z")

</div>

when some data changed, I need to re render some cells. but only call invalidate(), the appear do not change. so I use dom operation to change them manually. is there some auto method to do this? I only need to change …

---

## [In dojo4, @dojo/framework/core, is moved out some things?](https://discourse.dojo.io/t/in-dojo4-dojo-framework-core-is-moved-out-some-things/298)

<div class="topic-metadata">

**Author:** [@xiechj](https://discourse.dojo.io/u/xiechj)\
**Replies:** 9\
**Last updated:** [October 25, 2018, 2:35am UTC](https://discourse.dojo.io/t/in-dojo4-dojo-framework-core-is-moved-out-some-things/298 "2018-10-25T02:35:10Z")

</div>

last night, me tryed dojo4. In @dojo/framework/core, I can’t find lang, request, and a lot other things。 Is these things moved out?

[Next page](https://discourse.dojo.io/c/dojo2/7.md?page=1)
