Skip to content

Commit

Permalink
apply perf improvements from RTS (#3838)
Browse files Browse the repository at this point in the history
* apply perf improvements

* pretty printer

* stub shallow

* first fixes

* fix tests

* fix FC

* circular import fix

* Update package.json
  • Loading branch information
JoviDeCroock authored Jan 12, 2023
1 parent 4ea6c61 commit d317500
Show file tree
Hide file tree
Showing 15 changed files with 1,099 additions and 565 deletions.
13 changes: 0 additions & 13 deletions server/jsx.d.ts

This file was deleted.

12 changes: 12 additions & 0 deletions server/src/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Options hooks
export const DIFF = '__b';
export const RENDER = '__r';
export const DIFFED = 'diffed';
export const COMMIT = '__c';
export const SKIP_EFFECTS = '__s';

// VNode properties
export const COMPONENT = '__c';

// Component properties
export const NEXT_STATE = '__s';
Loading

0 comments on commit d317500

Please sign in to comment.