mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-27 19:14:52 +03:00
4a94c9851e
* Remove flickering fixes for optimistic updates * Add optimistic updates to Task.js * First round of code review feedback * Remove react query's additional options from hook * Futher review feedback and code docs * Fix and document error handling for optimistic updates * Further document optimistic update mechanisms * Update optimistic update docs * Improve comment for useAction * Further improve comments in actions/index * Heavily comment actions/index * Fix capitalization in action/index * Add types to actions/index * Fix jsdoc types in actions/index * Comment testing sleeps * Comment sleep function in todoApp/ext/actions * Properly handle type errors in actions/index * Fix formatting in actions/index * Move updateFn change to optimistic update instantiation * Extract common functionality in actions/index * Fix formatting in actions/index * Add jsdoc types to actions/index * Revise jsdoc in actions/index * Address PR comments * Update e2e tests * Mention optimistic updates in cache invalidation |
||
---|---|---|
.. | ||
blog | ||
docs | ||
src | ||
static | ||
.gitignore | ||
.npmrc | ||
babel.config.js | ||
docusaurus.config.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
sidebars.js |
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ npm install
Local Development
$ npm start
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
Build
$ npm build
This command generates static content into the build
directory and can be served using any static contents hosting service.
To run this version of code and check that it works correctly, run npm run serve
.
Deployment
We are deploying to GitHub pages, and that can easily be done with the following command.
First, ensure you are on the release
branch. Next, run:
$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy
This command will build the website and push it to the gh-pages
branch.