You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've received a number of requests for script/style loader override hooks be added to F2. I've written this as a story:
As a developer using F2, I want to be able to apply a custom script and/or style loader for F2 to request an app’s dependencies as defined in the AppManifest. This script and/or style loader would replace the built-in default App dependency loader in F2.
The proposed solution is as follows:
Add two new properties to the F2.ContainerConfig called loadStyles and loadScripts both of which are optional.
Both loadStyles and loadScripts would be functions passed an array of dependencies during the registration of an app.
@montlebalm actually wrote a lot of this code ~6 months ago, so we're in the process of digging that up and revisiting.
Spec updates to come.
The text was updated successfully, but these errors were encountered:
We've received a number of requests for script/style loader override hooks be added to F2. I've written this as a story:
As a developer using F2, I want to be able to apply a custom script and/or style loader for F2 to request an app’s dependencies as defined in the
AppManifest
. This script and/or style loader would replace the built-in default App dependency loader in F2.The proposed solution is as follows:
F2.ContainerConfig
calledloadStyles
andloadScripts
both of which are optional.loadStyles
andloadScripts
would be functions passed an array of dependencies during the registration of an app.@montlebalm actually wrote a lot of this code ~6 months ago, so we're in the process of digging that up and revisiting.
Spec updates to come.
The text was updated successfully, but these errors were encountered: