Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): drop useLocalStore from components #1808

Merged
merged 13 commits into from
Jun 8, 2020
Merged

Conversation

prymitive
Copy link
Owner

Use vanilla useState instead

@prymitive
Copy link
Owner Author

Webpack bundle size diff

Total diff: -1.7 KB

M build/static/js/6.d1eab974.chunk.js 570.9 KB 570.2 KB -726 B
M [no source] 18 KB 17.9 KB -84 B
M ../../src/useAsObservableSource.ts 389 B 218 B -171 B
M core-js 103.4 KB 103.4 KB -3 B
M ../../src/utils.ts 612 B 502 B -110 B
M ../../src/useLocalStore.ts 770 B 412 B -358 B
M build/static/js/12.e52b0c57.chunk.js 35.3 KB 34 KB -1.3 KB
M Components/FetchPauser/index.js 217 B 215 B -2 B
M Components/Grid/AlertGrid/AlertGroup/GroupHeader/GroupMenu.js 2.2 KB 2.2 KB -69 B
M Components/Grid/AlertGrid/AlertGroup/index.js 3.3 KB 3.1 KB -188 B
M Components/Grid/AlertGrid/AlertGroup/GroupHeader/index.js 1.6 KB 1.6 KB -5 B
M Components/AlertAck/index.js 3.6 KB 2.6 KB -1010 B
M Components/Grid/AlertGrid/index.js 1.1 KB 1.1 KB -61 B
M Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js 2.3 KB 2.2 KB -35 B
M build/static/js/18.033899d9.chunk.js 26.4 KB 25.6 KB -852 B
M Components/SilenceModal/SilenceForm.js 2.8 KB 2.7 KB -33 B
M Components/SilenceModal/SilenceSubmit/SilenceSubmitProgress.js 2.2 KB 1.6 KB -678 B
M Components/SilenceModal/Browser/index.js 3.2 KB 3.2 KB -5 B
M Components/SilenceModal/DateTimeSelect/index.js 4.3 KB 4.2 KB -136 B
M build/static/js/3.538c2c03.chunk.js 20.4 KB 21.7 KB +1.2 KB
M Components/LabelSetList/index.js 1.3 KB 1.1 KB -114 B
M Components/Grid/AlertGrid/AlertGroup/Annotation/index.js 1.5 KB 1.3 KB -212 B
M [no source] 1.3 KB 1.6 KB +324 B
M Components/ManagedSilence/index.js 1.2 KB 1.1 KB -64 B
M Components/ManagedSilence/SilenceProgress.js 1 KB 1010 B -58 B
+ Hooks/useFetchAny.js 1.3 KB +1.3 KB

@prymitive prymitive merged commit cb68a23 into master Jun 8, 2020
@prymitive prymitive deleted the drop-mobx-local branch June 8, 2020 16:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant