profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/cristianbote/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Cristian Bote cristianbote @frontity Cluj-Napoca, Romania https://cristianbote.com Javascript Engineer. Technology enthusiast.

cristianbote/goober 1965

🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API

cristianbote/hnpwa-vanilla 246

Hacker News PWA implemented using no framework just javascript

cristianbote/phaser-state-transition 169

State transition plugin for Phaser.js

cristianbote/bundlephobia-extension 12

Bundlephobia Web Extension

cristianbote/koa-tracks 5

Koa middleware that runs multiple middleware at the same time, in parallel

cristianbote/angular-translate-json 3

Angular(latest) translate json

cristianbote/keyjs 3

Input handling

cristianbote/easyflux 2

Easy, straight to the point events

cristianbote/angular-sockets 1

Easy to use sockets module for angularjs.

cristianbote/hacker-news-pwas 1

HNPWA - Hacker News readers as Progressive Web Apps 📱

startedmdn/web-speech-api

started time in 15 minutes

release wardpeet/gatsby-plugin-static-site

v0.3.0

released time in 3 hours

startedmapbox/pixelmatch

started time in 4 hours

startedgoogle/zx

started time in 4 hours

startednelonoel/postcss-theme-ui

started time in 4 hours

push eventpreactjs/preact

jdecroock

commit sha bee71c31ba57ae22ba67dfbfa6ac055cdd123d28

remove option workaroudn for IE11

view details

Marvin Hagemeister

commit sha 257ac40edb4c57a9bd626e9f256b8c65f68da293

Merge pull request #3113 from preactjs/remove-select-workaround (restructure) - Remove select workaround

view details

Andre Wiggins

commit sha 8bdadb2329c83665caee6311df1682393d29ab50

Simplify skipRemove flag handling in unmount

view details

Jason Miller

commit sha 69993fdd834b081f4791dcbbfb0441c6c46b7b8b

Skip nested element removal

view details

Jason Miller

commit sha 506c42ec66f473069fb29af5b99d59f0f6c87149

Add a test for recursive DOM/Component unmount and fix logic

view details

Andre Wiggins

commit sha 482d133f48754d27bb1118faa7619b246ccc6788

Merge pull request #3117 from preactjs/restructure-unmount-skipRemove Simplify `skipRemove` flag handling in unmount

view details

Andre Wiggins

commit sha 7d5b16eced2acdc95bd410c4bf19b2aadf8b873b

Remove unused reorder call in patch In #3072, we no longer rerender all of Suspense's children when rendering the fallback. As such, we no longer need to reorder children that might've thrown during this fallback render. This PR removes that logic since it is no longer needed (I forgot to do this in #3072).

view details

Marvin Hagemeister

commit sha 2d92a85f09f42f524544095049e49cd9ccc1df3c

Merge pull request #3135 from preactjs/restructure-suspense-cleanup Remove unused reorder call in patch

view details

Jovi De Croock

commit sha 87592db789fff602974f9912cdb58b216c671564

remove prevDom as there is no need for it (#3136)

view details

Andre Wiggins

commit sha 6d79ddf52d2b649a815dd48464a8dcd5dbf6fcc5

Move VNode matching into its own function While doing some child diffing investigations, I noticed locally that moving our VNode matching logic into its own function and improve some of the run times on 02_replace1k benchmark. The final duration doesn't change too much but locally it appears to remove some of the main-thread optimizations that occured in the early runs of 02_replace1k

view details

Andre Wiggins

commit sha a8009a5077fba6b72cae6e341acdca6a62325a01

Merge pull request #3132 from preactjs/restructure-find-match Move VNode matching logic into its own function

view details

Andre Wiggins

commit sha 08dd1b0cbd9882723a3315d0a2153fcfe7e30890

Merge branch 'restructure' into restructure-component-prep

view details

Andre Wiggins

commit sha dd40f0360284f44070fc98abba0a93206e75bcd2

Add follow ups

view details

Andre Wiggins

commit sha 66fd9c0810998371bb3af7a7fd5da3153e800474

Make `flags` a public field on Internal

view details

Andre Wiggins

commit sha 087f4fff9dd4adcd58b5fd672d08ae4ebd41159d

Replace RendererState.force with FORCE_UPDATe flag

view details

Andre Wiggins

commit sha 2ecb3a8736b773220224089622d5628825a4db42

Move RendererState.commit to be a COMMIT_COMPONENT flag

view details

Andre Wiggins

commit sha 639398a07dbcd501a2c51dd39d552cc250bcd095

Replace RendererState.skip with a SKIP_CHILDREN flag

view details

Andre Wiggins

commit sha 9263b10e4ab8f28e17821fb575c7c092a845f353

Remove unneccessary export of createContext counter

view details

Andre Wiggins

commit sha aecab96e01a278f077feea50f023a65ee3d8e809

Add TODO to revisit rendererState

view details

Andre Wiggins

commit sha cdab5361f691d4d05df7e6d44e37dddfce5cad73

Add TYPE_ERROR_BOUNDARY and extract React error handling code from catchError This commit removes TYPE_CLASS since our renderer is now abstracted from how components render. It also removes a test that no longer makes sense since our catch error doesn't stop at every component and checks that it is dirty, but instead only stops at error boundaries

view details

push time in 5 hours

Pull request review commentpreactjs/preact

[WIP] Separate internal component handling from component implementation

 - `[MAJOR]` Remove `replaceNode`, [use this technique instead](https://gist.github.com/developit/f321a9ef092ad39f54f8d7c8f99eb29a)) - `[MAJOR]` Removed select `<option>` fix for IE11, using select in IE11 will always require you to specify a `value` attribute +## Component plugin prep follow ups++- Consider exposing flags to replace various bools in `rendererState`+	- Move setting COMMIT_FLAG to `setState`/`forceUpdate`+- Consider adding TYPE_ERROR_BOUNDARY

These are already addressed in #3107

andrewiggins

comment created time in 6 hours

push eventpreactjs/preact

jdecroock

commit sha bee71c31ba57ae22ba67dfbfa6ac055cdd123d28

remove option workaroudn for IE11

view details

Marvin Hagemeister

commit sha 257ac40edb4c57a9bd626e9f256b8c65f68da293

Merge pull request #3113 from preactjs/remove-select-workaround (restructure) - Remove select workaround

view details

Andre Wiggins

commit sha 8bdadb2329c83665caee6311df1682393d29ab50

Simplify skipRemove flag handling in unmount

view details

Jason Miller

commit sha 69993fdd834b081f4791dcbbfb0441c6c46b7b8b

Skip nested element removal

view details

Jason Miller

commit sha 506c42ec66f473069fb29af5b99d59f0f6c87149

Add a test for recursive DOM/Component unmount and fix logic

view details

Andre Wiggins

commit sha 482d133f48754d27bb1118faa7619b246ccc6788

Merge pull request #3117 from preactjs/restructure-unmount-skipRemove Simplify `skipRemove` flag handling in unmount

view details

Andre Wiggins

commit sha 7d5b16eced2acdc95bd410c4bf19b2aadf8b873b

Remove unused reorder call in patch In #3072, we no longer rerender all of Suspense's children when rendering the fallback. As such, we no longer need to reorder children that might've thrown during this fallback render. This PR removes that logic since it is no longer needed (I forgot to do this in #3072).

view details

Marvin Hagemeister

commit sha 2d92a85f09f42f524544095049e49cd9ccc1df3c

Merge pull request #3135 from preactjs/restructure-suspense-cleanup Remove unused reorder call in patch

view details

Jovi De Croock

commit sha 87592db789fff602974f9912cdb58b216c671564

remove prevDom as there is no need for it (#3136)

view details

Andre Wiggins

commit sha 6d79ddf52d2b649a815dd48464a8dcd5dbf6fcc5

Move VNode matching into its own function While doing some child diffing investigations, I noticed locally that moving our VNode matching logic into its own function and improve some of the run times on 02_replace1k benchmark. The final duration doesn't change too much but locally it appears to remove some of the main-thread optimizations that occured in the early runs of 02_replace1k

view details

Andre Wiggins

commit sha a8009a5077fba6b72cae6e341acdca6a62325a01

Merge pull request #3132 from preactjs/restructure-find-match Move VNode matching logic into its own function

view details

Andre Wiggins

commit sha 08dd1b0cbd9882723a3315d0a2153fcfe7e30890

Merge branch 'restructure' into restructure-component-prep

view details

Andre Wiggins

commit sha dd40f0360284f44070fc98abba0a93206e75bcd2

Add follow ups

view details

Andre Wiggins

commit sha 66fd9c0810998371bb3af7a7fd5da3153e800474

Make `flags` a public field on Internal

view details

Andre Wiggins

commit sha 087f4fff9dd4adcd58b5fd672d08ae4ebd41159d

Replace RendererState.force with FORCE_UPDATe flag

view details

Andre Wiggins

commit sha 2ecb3a8736b773220224089622d5628825a4db42

Move RendererState.commit to be a COMMIT_COMPONENT flag

view details

Andre Wiggins

commit sha 639398a07dbcd501a2c51dd39d552cc250bcd095

Replace RendererState.skip with a SKIP_CHILDREN flag

view details

Andre Wiggins

commit sha 9263b10e4ab8f28e17821fb575c7c092a845f353

Remove unneccessary export of createContext counter

view details

Andre Wiggins

commit sha aecab96e01a278f077feea50f023a65ee3d8e809

Add TODO to revisit rendererState

view details

Andre Wiggins

commit sha cdab5361f691d4d05df7e6d44e37dddfce5cad73

Add TYPE_ERROR_BOUNDARY and extract React error handling code from catchError This commit removes TYPE_CLASS since our renderer is now abstracted from how components render. It also removes a test that no longer makes sense since our catch error doesn't stop at every component and checks that it is dirty, but instead only stops at error boundaries

view details

push time in 6 hours

push eventpreactjs/preact

Andre Wiggins

commit sha dd40f0360284f44070fc98abba0a93206e75bcd2

Add follow ups

view details

push time in 6 hours

push eventpreactjs/preact

Marvin Hagemeister

commit sha a4eb33c2e44b6731858580d0cb8fd3d615defd41

Update esbuild to natively support Apple's M1

view details

Marvin Hagemeister

commit sha e95550fcfc03c6c7fe3b2d0981846a667eda9174

Merge pull request #3028 from preactjs/update-esbuild Update esbuild to natively support Apple's M1

view details

Andre Wiggins

commit sha 0842b0c58e8225f8ea22bf7c78ebe6d4014965bc

Move tree crawler functions to tree

view details

Andre Wiggins

commit sha 4d2734de648bad95add016b74a4b0aab94d76f59

Add getParentDom helper and remove _parentDom from Components

view details

Andre Wiggins

commit sha 810d5e5ceba7148469d4c4df2c93b2ecccfafb8e

Clean up internal types

view details

Andre Wiggins

commit sha b3d705d30587114cac91b32aa07869330469238a

Add skipped failing test and follow up with description

view details

Andre Wiggins

commit sha db596388997e7c35817e03d049585f12254801d0

Use TYPE_ROOT to determine if internal is a root node

view details

Andre Wiggins

commit sha a0b3283c6be25f656825bba3844189635a52578a

Rename MODE_UNMOUNTED to MODE_UNMOUNTING

view details

Andre Wiggins

commit sha 9fdababe413fb778883eae88be4b93d1180a9a75

Add comment for TYPE_ROOT

view details

Andre Wiggins

commit sha 7489e55de001daf13cbd75dffcfd5cfc98d776ac

Protect against infinite loops in getParentDom If props._parentDom or _dom is null on an Internal (can happen if getParentDom is called while tree is being constructed, e.g. in Suspense), keep searching up the tree.

view details

Andre Wiggins

commit sha 83f68d1386b68a42cd55b4080b7de91a3b45142b

Fix wrong constant in suspense

view details

Andre Wiggins

commit sha b226538790d5a148437686ea70c9776b0686d495

Use flag check for root node at the end of renderComponent

view details

Marvin Hagemeister

commit sha 257d9adbc2f6b89018aa23e3b8df05449a14299c

Merge pull request #3036 from preactjs/restructure-remove-parent-dom Replace _parentDom on Component with a lookup function

view details

Andre Wiggins

commit sha 2e70cdd7b1969edd65012cab84d15560a9ef9f32

Properly handle deeply nested repeat errors

view details

Marvin Hagemeister

commit sha 7ff98f7477adc1ccd6fd1c6d0e3d252f70717e24

Merge pull request #3041 from preactjs/restructure-error-handling Properly handle deeply nested repeat errors

view details

Ryan Christian

commit sha e455baf17901a54f3ae457be964d33f3e158970b

fix: Adding missing SVGFEFunc types

view details

Andre Wiggins

commit sha 605bc5ec8804f031d9bbeff33d41c8c15ca13df5

Merge pull request #3043 from rschristian/fix/addSVGTypes fix: Adding missing SVGFEFunc types

view details

Andre Wiggins

commit sha e2c1e607863e89927296ccf419f52ef2900496f5

Update suspense tests to use helpers and fix some TS issues

view details

Andre Wiggins

commit sha c26b207e4809b40e47e1a91a517d43f741ce9559

WIP: try using root nodes to implement suspense One big issue: the diff won't move the DOM under the component that throws... Two important changes made here: 1. An internal's DOM node needs to be set as a property before its children are diffed so that its children's render methods can use `getParentDom` to find the parent DOM. Suspense uses this to determine what the normal parent DOM is for its children on the first render. 2. Root nodes should support moving DOM that was previously inline into a different root. This behavior means that when determining where the diff should resume after diffing a root node isn't necessarily the previous startDom. The startDom could have moved to a new parent. In those situations, the diff must discover which DOM node to resume the diff with by using `getDomSibling`

view details

Andre Wiggins

commit sha d212c42eb340d9cae6f7d5084ea09abffdfa7a62

Reorder children when promise is thrown and queue cDU only on successful render When we are re-rooting a suspenses children, we need to re-parent the children of the component that threw, so call `reorderChildren` when a thenable is thrown. Also, we shouldn't queue componentDidUpdate everytime we attempt to render a component (it could throw). Instead only queue cDU when the component successfully renders. Adjust some of the tests to the new Suspense behavior. Since we no longer set force on every component under Suspense, some of the intermediate components don't rerender upon resuming. This new behavior actually mirrors the behavior that existed in our original suspense implementation and was changed in ea8521f05cd1128b8222d306a774d08be974b726 .

view details

push time in 7 hours

push eventpreactjs/preact

jdecroock

commit sha bee71c31ba57ae22ba67dfbfa6ac055cdd123d28

remove option workaroudn for IE11

view details

Marvin Hagemeister

commit sha 257ac40edb4c57a9bd626e9f256b8c65f68da293

Merge pull request #3113 from preactjs/remove-select-workaround (restructure) - Remove select workaround

view details

Andre Wiggins

commit sha 8bdadb2329c83665caee6311df1682393d29ab50

Simplify skipRemove flag handling in unmount

view details

Jason Miller

commit sha 69993fdd834b081f4791dcbbfb0441c6c46b7b8b

Skip nested element removal

view details

Jason Miller

commit sha 506c42ec66f473069fb29af5b99d59f0f6c87149

Add a test for recursive DOM/Component unmount and fix logic

view details

Andre Wiggins

commit sha 482d133f48754d27bb1118faa7619b246ccc6788

Merge pull request #3117 from preactjs/restructure-unmount-skipRemove Simplify `skipRemove` flag handling in unmount

view details

Andre Wiggins

commit sha 7d5b16eced2acdc95bd410c4bf19b2aadf8b873b

Remove unused reorder call in patch In #3072, we no longer rerender all of Suspense's children when rendering the fallback. As such, we no longer need to reorder children that might've thrown during this fallback render. This PR removes that logic since it is no longer needed (I forgot to do this in #3072).

view details

Marvin Hagemeister

commit sha 2d92a85f09f42f524544095049e49cd9ccc1df3c

Merge pull request #3135 from preactjs/restructure-suspense-cleanup Remove unused reorder call in patch

view details

Jovi De Croock

commit sha 87592db789fff602974f9912cdb58b216c671564

remove prevDom as there is no need for it (#3136)

view details

Andre Wiggins

commit sha 6d79ddf52d2b649a815dd48464a8dcd5dbf6fcc5

Move VNode matching into its own function While doing some child diffing investigations, I noticed locally that moving our VNode matching logic into its own function and improve some of the run times on 02_replace1k benchmark. The final duration doesn't change too much but locally it appears to remove some of the main-thread optimizations that occured in the early runs of 02_replace1k

view details

Andre Wiggins

commit sha a8009a5077fba6b72cae6e341acdca6a62325a01

Merge pull request #3132 from preactjs/restructure-find-match Move VNode matching logic into its own function

view details

Andre Wiggins

commit sha 08dd1b0cbd9882723a3315d0a2153fcfe7e30890

Merge branch 'restructure' into restructure-component-prep

view details

push time in 8 hours

release jaredpalmer/graphql-codegen-golang

v1.1.0

released time in 8 hours

release pmndrs/zustand

v3.5.1

released time in 13 hours

pull request commentpreactjs/wmr

Experiment: Add filesystem-based routing

⚠️ No Changeset found

Latest commit: 24b02f3fed6fdbc519e078d51e95e4904c0fd566

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

<details><summary>This PR includes no changesets</summary>

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

</details>

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

marvinhagemeister

comment created time in 13 hours

PR opened preactjs/wmr

Experiment: Add filesystem-based routing

This PR implements basic filesystem-based routing. No loading mechanisms or that are included, just the routing.

TODO:

  • [ ] Add tests
  • [ ] Bikshed on wmr:fs-routes vs @fs-routes as module specifier
+182 -1

0 comment

17 changed files

pr created time in 13 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha 24b02f3fed6fdbc519e078d51e95e4904c0fd566

Rename pagesDir -> routesDir

view details

push time in 13 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha c1f3f0e42a053811fe894f91a7bd702247e550d5

Fix `useRoute` not being exported in main entry

view details

Marvin Hagemeister

commit sha 5349b2675d393c03ad6fb33087e6a1599a12d504

Merge pull request #608 from preactjs/iso-export Fix `useRoute` not being exported in main entry

view details

Marvin Hagemeister

commit sha d5acfeaaddbacd92db69f9b14585bd3dcbfa691a

WIP

view details

Marvin Hagemeister

commit sha 6cda9d3f2e8d9c765300cb8e3d5edfdf1cf6e874

WIP

view details

Marvin Hagemeister

commit sha fbedd60198bc9f00e4ab801416d2d03f0b4c66bb

WIP

view details

Marvin Hagemeister

commit sha 009d5cd57975c7fd256d69525bf1f7fc8ab5a9b6

Update against master

view details

Marvin Hagemeister

commit sha 2fbdaa4e3eb31ad84113def29461c646314f87aa

Fix typo

view details

Marvin Hagemeister

commit sha 650be54b86d3ffb715c072593cca0a1220bf0f59

Add Preact specific route plugin

view details

Marvin Hagemeister

commit sha 069244a3cea83bddfc51b5cd31cc4c98bd1dd06e

WIP

view details

Marvin Hagemeister

commit sha 34567991823a442579dc50cf7236db2c4a0751cc

WPI

view details

Marvin Hagemeister

commit sha f03362e9db855890ccf7caea52e1b68e15724028

Switch to wmr namespace

view details

push time in 13 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha c1f3f0e42a053811fe894f91a7bd702247e550d5

Fix `useRoute` not being exported in main entry

view details

Marvin Hagemeister

commit sha 5349b2675d393c03ad6fb33087e6a1599a12d504

Merge pull request #608 from preactjs/iso-export Fix `useRoute` not being exported in main entry

view details

github-actions[bot]

commit sha 6de88986bb2ad77d971ea8d277c890adb47e1cad

Version Packages

view details

push time in 13 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha c1f3f0e42a053811fe894f91a7bd702247e550d5

Fix `useRoute` not being exported in main entry

view details

Marvin Hagemeister

commit sha 5349b2675d393c03ad6fb33087e6a1599a12d504

Merge pull request #608 from preactjs/iso-export Fix `useRoute` not being exported in main entry

view details

push time in 13 hours

delete branch preactjs/wmr

delete branch : iso-export

delete time in 13 hours

PR merged preactjs/wmr

Fix `useRoute` not being exported in main entry
+6 -1

2 comments

2 changed files

marvinhagemeister

pr closed time in 13 hours

startedcharmbracelet/lipgloss

started time in 14 hours

pull request commentpreactjs/preact-router

Add useRouter() hook and update Router.onChange

Would be great to have this merged @developit, if this is okay and because this has been a very long time this PR is opened, I think discussions about enhancing this feature can take place elsewhere after this is merged. Would you agree ?

toniopelo

comment created time in 16 hours

startedgoogle/zx

started time in 16 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha 4cd9c8744f1a7bb88feabae4152bd79889102654

WIP

view details

Marvin Hagemeister

commit sha 89bed77d90e6cb4290c87d79d64d6c8af7280b50

Fix `useRoute` not being exported in main entry

view details

Marvin Hagemeister

commit sha 0659fe8a07923213684d3cab3f43591b702b88b6

WPI

view details

push time in 16 hours

pull request commentpreactjs/wmr

Fix `useRoute` not being exported in main entry

Size Change: +20 B (0%)

Total Size: 5.94 kB

Filename Size Change
packages/preact-iso/.dist/index.********.js 1.57 kB +14 B (+1%)
packages/preact-iso/.dist/prerender.********.js 340 B +2 B (+1%)
packages/preact-iso/index.js 195 B +4 B (+2%)

<details><summary>ℹ️ <strong>View Unchanged</strong></summary>

Filename Size Change
packages/preact-iso/hydrate.js 290 B 0 B
packages/preact-iso/lazy.js 594 B 0 B
packages/preact-iso/prerender.js 629 B 0 B
packages/preact-iso/router.js 2.32 kB 0 B

</details>

<a href="https://github.com/preactjs/compressed-size-action"><sub>compressed-size-action</sub></a>

marvinhagemeister

comment created time in 17 hours

push eventpreactjs/wmr

Marvin Hagemeister

commit sha c1f3f0e42a053811fe894f91a7bd702247e550d5

Fix `useRoute` not being exported in main entry

view details

push time in 17 hours

pull request commentpreactjs/wmr

Fix `useRoute` not being exported in main entry

⚠️ No Changeset found

Latest commit: 76487576c046539b469309f210e80eff01ecdc00

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

<details><summary>This PR includes no changesets</summary>

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

</details>

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

marvinhagemeister

comment created time in 17 hours

PR opened preactjs/wmr

Fix `useRoute` not being exported in main entry
+1 -1

0 comment

1 changed file

pr created time in 17 hours

create barnchpreactjs/wmr

branch : iso-export

created branch time in 17 hours