Fixed broken link, replaces file links with permalinks (#9334)

Co-authored-by: rhymes <rhymesete@gmail.com>
This commit is contained in:
Olawale Oyeyipo 2020-07-16 13:41:07 +01:00 committed by GitHub
parent 73187e82ba
commit c990f5d7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,10 +18,10 @@ for the page to be usable.
Here are a couple of examples of dynamic import usage on Forem:
- The
[Onboarding flow](https://github.com/forem/forem/blob/master/app/javascript/packs/Onboarding.jsx#L28).
[Onboarding flow](https://github.com/forem/forem/blob/0633d85b6b0e083bb7b21b11642b2b17d3fe9de6/app/javascript/packs/Onboarding.jsx#L21).
- In
[connect](https://github.com/forem/forem/blob/master/app/javascript/chat/codeEditor.jsx#L11)
(chat)
[homepage](https://github.com/forem/forem/blob/0633d85b6b0e083bb7b21b11642b2b17d3fe9de6/app/javascript/packs/homePage.jsx#L59)
(followed tags).
Forem uses [webpacker](frontend/webpacker) (webpack), so what webpack will do is
create separate bundles for code that is dynamically imported. So not only do we