Fix Typos in MetaGenerator.js Documentation Comments (#3993)
Update MetaGenerator.js Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
parent
825c5b044e
commit
3c89ea987f
@ -12,9 +12,9 @@
|
||||
* Since we are an SPA, we can just render the primary page and the known entrypoints for the index.{js,css}
|
||||
* we can always start at the right place and dynamically load in lazy-loaded as we typically normally would
|
||||
* and we dont have any of the overhead that would normally come with having the rewrite the whole app in next or something.
|
||||
* Lastly, this class is singleton, so once instantiate the same refernce is shared for as long as the server is alive.
|
||||
* Lastly, this class is singleton, so once instantiate the same reference is shared for as long as the server is alive.
|
||||
* the main function is `.generate()` which will return the index HTML. These settings are stored in the #customConfig
|
||||
* static property and will not be reloaded until the page is loaded AND #customConfig is explicity null. So anytime a setting
|
||||
* static property and will not be reloaded until the page is loaded AND #customConfig is explicitly null. So anytime a setting
|
||||
* for meta-props is updated you should get this singleton class and call `.clearConfig` so the next page load will show the new props.
|
||||
*/
|
||||
class MetaGenerator {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user