dillon1000/react

Commit

[runtime] Update makeReadOnly runtime

--- 

(wip, waiting for feedback on workplace post) 

- remove calls to `isInROMode`, as we want to log all mutations after 'freezing' 
a value (both within and outside of render cycle) 

- add `source` parameter -- this is the function name of the parent component / 
hook
Browse files
Changed paths2 files
First-parent comparison
M compiler/forget/packages/make-read-only-util/src/makeReadOnly.test.ts ModifiedM compiler/forget/packages/make-read-only-util/src/makeReadOnly.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…