Update notice about long loading time (changelog ignore)

This commit is contained in:
garronej 2021-12-08 13:56:06 +01:00
parent 303e270b56
commit 84937e3eec

View File

@ -466,6 +466,11 @@ It's all-right because every statement that can fail is inside an `<#attempt><#r
The problem of templates taking a long time to load only happens in the test environment, when you have a console logging all the above-mentioned `.ftl` warnings in real time. Logging all those warnings is what takes time. Once in production page load is way faster.
If you run the docker container locally we aknowelage that the loading time is getting out of hand.
We are [in the process](https://github.com/InseeFrLab/keycloakify/pull/63) of resolving this issue.
In the meantime we recommend to run the docker container as a background task.
# Adding custom message (to `i18n/useKcMessage.tsx`)
You can reproduce [this approach](https://github.com/garronej/keycloakify-demo-app/blob/main/src/kcMessagesExtension.ts)