Chore rc5 update#13
Open
e-schultz wants to merge 4 commits into
Open
Conversation
Update from RC4 to RC5, most applications should still run but display deprecation warnings for you.
Import `@NgModule`, and other modules that you need. What used to be in your providers array for bootstrap, are bassed into the providers property of the `@NgModule` decorator. We also change the bootstrapping to now bootstrap our new Angular Module.
Since we are registering the `FormsModule` at the app module level, we no longer need to import things like `REACTIVE_FORM_DIRECTIVES` into each of the components that were using them previously.
Now that we have the basics of upgrading to RC5 done, we can start thinking about what areas of our application to start breaking off into their own modules. An obvious starting point is to create a Module to hold our common display components. We can bundle these up into a `ComponentModule` and register this with our App Module foor bootstrapping. We are now able to use our directives like `Table`, `Panel`, etc in our homepage without needing to explicitly import them and define them in the direvties for `home.page.ts`
ea85ce1 to
24f8e72
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simplified RC4->RC5 upgrade/module without going as far as a
Module Per Componentfor blog post.