\n\nMaybe it's possible to make `ReactiveSequence` generic for both way like this.",[3228],{"name":3229,"color":3230},"question","d876e3",454,"[hmr] Advanced generic typing","2025-09-25T10:43:48Z","https://github.com/promplate/pyth-on-line/issues/454",0.7851792,{"description":3237,"labels":3238,"number":3239,"owner":3175,"repository":3176,"state":3177,"title":3240,"updated_at":3241,"url":3242,"score":3243},"https://github.com/promplate/pyth-on-line/blob/a42a228ff2b93e1552f40d18c5a3f9ad53f929b4/src/lib/pyodide/start/notebook.ts#L1\n\n**suggestion:** Hard-coded deep relative import path is brittle\n\nRecommend configuring a module alias or updating the build setup to allow importing `reactivity` with a stable, shorter path.\n\nSuggested implementation:\n\n```typescript\nimport reactivity from \"@hmr/reactivity\";\n\n```\n\nMake sure your build tool (e.g., Vite, Webpack, or tsconfig.json for TypeScript) is configured with an alias like:\n```json\n{\n \"compilerOptions\": {\n \"baseUrl\": \".\",\n \"paths\": {\n \"@hmr/reactivity\": [\"packages/hmr/reactivity\"]\n }\n }\n}\n```\nor the equivalent for your setup.\n\n_Originally posted by @sourcery-ai[bot] in https://github.com/promplate/pyth-on-line/pull/319#discussion_r2145988795_\n ",[],322,"Hard-coded deep relative import path is brittle","2025-06-13T20:23:40Z","https://github.com/promplate/pyth-on-line/issues/322",0.79070956,{"description":3245,"labels":3246,"number":3248,"owner":3175,"repository":3176,"state":3177,"title":3249,"updated_at":3250,"url":3251,"score":3252},"This would fix #408, but may not be ideal.\n\n1. Methods `__delitem__`, `__setitem__` (with `check_equality=True`), and `__getitem__` need be updated\n2. Even `__iter__` might need to call `__getitem__` to ensure consistency, or we still can't promise they are in sync\n3. Users can manually sync via simply `self.update(self._data)` if needed\n\nHowever, without this, direct modifications to `__dict__` or `globals()` still won't be accessible through `__getattr__`, as noted in #211—this should be considered.\n",[3247],{"name":3229,"color":3230},431,"[hmr] Add an `strict` option in `ReactiveMappingProxy` to always check `_data.__getitem__`","2025-09-11T06:00:01Z","https://github.com/promplate/pyth-on-line/issues/431",0.7957631,{"description":3254,"labels":3255,"number":3258,"owner":3175,"repository":3176,"state":3177,"title":3259,"updated_at":3260,"url":3261,"score":3262},"And `__len__` may should be decorated with `DerivedMethod`, too. (Previously `DerivedMethod`'s `__self__` must be hashable, which is fixed since 77e83e404ad3fa5636ec3e423731ea6ca8ffa543)\n",[3256,3257],{"name":3210,"color":3211},{"name":3229,"color":3230},432,"[hmr] `ReactiveMappingProxy.update` should be batched","2025-09-11T07:13:53Z","https://github.com/promplate/pyth-on-line/issues/432",0.7987605,["Reactive",3264],{},["Set"],["ShallowReactive",3267],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fYzHca-T3llNt_aRB9T2Q1Rmq10Ex9ptepd0H25JkWck":-1},"/promplate/pyth-on-line/413"]