Skip to content

Conversation

@exec-astraea
Copy link
Contributor

No description provided.

@quinntracy
Copy link
Collaborator

Hi @wrdsnd , are these changes tied to a release or can they be merged after review?

@exec-astraea
Copy link
Contributor Author

Hi @quinntracy! There is no hurry, this is not tied to a release.

@quinntracy
Copy link
Collaborator

@wrdsnd Great, I'll take a look and merge after review

@quinntracy quinntracy merged commit dd64ac5 into mendix:development Feb 13, 2025
2 checks passed
@exec-astraea exec-astraea deleted the react-client-migration-index branch February 13, 2025 10:32
@exec-astraea
Copy link
Contributor Author

@Robinfr can you please also take a look?


1. Delete the custom `index.html`, or rename it temporarily.
2. Run the local deployment and copy the app/deployment/web/index-example.html to your app/theme/web/index.html. That will be your new `index.html`.
3. Apply any changes you want.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply customization where required.

2. Run the local deployment and copy the app/deployment/web/index-example.html to your app/theme/web/index.html. That will be your new `index.html`.
3. Apply any changes you want.

It is also possible to keep custom `index.html` files for both clients. To do this, name the React client index file *index-react.html*. This file will take precedence when the React client is enabled, while the `index.html` will be used for Dojo client deployments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, let's also use code blocks for index-react.html.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our style guide uses italics to clarify the name of something, which is why index-react.html is italicized rather than in code formatting. I will change the other places noted above to be in code formatting, though.

2. Run the local deployment and copy the app/deployment/web/index-example.html to your app/theme/web/index.html. That will be your new `index.html`.
3. Apply any changes you want.

It is also possible to keep custom `index.html` files for both clients. To do this, name the React client index file *index-react.html*. This file will take precedence when the React client is enabled, while the `index.html` will be used for Dojo client deployments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add why customers might want to do this, e.g. while they are migrating their app?

@quinntracy
Copy link
Collaborator

I opened a new PR to add @Robinfr 's feedback to this (also so @ConnorLand can take a look next week and make adjustments, where necessary).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants