dillon1000/react
Commit
Browse files Add react-forget-runtime
This is a new module that holds: - the `useMemoCache` stub (hopefully to be deleted next week) - various helpers that can be imported by the compiler, e.g. the dispatcher guard `$startLazy` - skipped the implementation of `makeReadOnly` for now as there's already multiple copies and I wanted to avoid typescript in this file for now to make the build easier (i.e. no build)
Changed paths8 files
First-parent comparisoncompiler/forget/packages/react-forget-runtime/index.js AddedA compiler/forget/packages/react-forget-runtime/package.json AddedM compiler/forget/scripts/jest/makeTransform.js ModifiedM compiler/forget/src/BackEnd/JS.ts ModifiedM compiler/forget/src/BackEnd/JSGen.ts ModifiedM compiler/forget/src/__tests__/e2e/hello.e2e.js ModifiedM compiler/forget/src/__tests__/e2e/update-button.e2e.js ModifiedD compiler/forget/src/__tests__/test-utils/useMemoCacheStub.ts DeletedPatch
Files changed
Rendering syntax-highlighted changes…