This is the README for the extension "RiverHooks Arch".
Features
This extension creates a pragmatic architecture that uses features with Riverpod and Hooks
for state management.
Right click in the project navigation menu and select: "New: Riverhooks Feature", upon
which you will be prompted for a name for your new feature. We recommend single word names.
Upon which a folder with your feature will be created with the following subfolders and files.
Featurename Folder
SubFolders:
View: featurename_page.dart w/ provider to Provider (controller)
Providers: featurename_provider.dart w/ provider to Repository
Repository: featurename_repository.dart w/ access to Entity
Client: empty - local or remote clients are to be built by you, and create providers so that the repo can access the Client.
The architectural flow is setup as:
View: UI ->
Provider: (Controller) - provider that responds to events from the UI and updates other
providers, houses other providers, or contacts the repo ->
Repository: Methods to be called to fetch from local or remote source Client. The repo also
formats and massages data to create the Entity (model) object.
Client: Local, or remote. The literal calls to API or local persistence, is done here
Requirements
VSCode 1.49
Extension Settings
Include if your extension adds any VS Code settings through the contributes.configuration extension point.
For example:
This extension contributes the following settings:
myExtension.enable: enable/disable this extension
myExtension.thing: set to blah to do something
Known Issues
None
Release Notes
Initial Release
Add right click context menu functionality
Add template and folder/file creation logic