Terje Norderhaug

Results 36 issues of Terje Norderhaug

I am using react-atom in multiple projects, often starting with `React.useState()` then upgrading to atoms. The `useAtomState()` hook below makes it take only a few keystrokes to replace `useState` with...

The `Track` type could benefit from being [watchable](https://cljs.github.io/api/cljs.core/add-watch) by implementing the `IWatchable` protocol. https://github.com/reagent-project/reagent/blob/4decfa65decdbf3742a7d598cf084a0f58d380b6/src/reagent/ratom.cljs#L216 https://github.com/reagent-project/reagent/blob/4decfa65decdbf3742a7d598cf084a0f58d380b6/src/reagent/ratom.cljs#L174-L177

enhancement
blocked

Building with clojurescript 1.9.671 leads to aborted execution on node after compilation warning: ->MapEntry already refers to: cljs.core/->MapEntry being replaced by: schema.core/->MapEntry Remedy by upgrading prismatic/schema dependency to the latest...

**Clarity should permit local binding of symbols having global definitions**, making Clarity contracts more future-proof and avoiding the sacrifices and complications otherwise incurred. Currently, contracts with local bindings of globally...

Panic in Clarity contracts results in a useless and uninformative `(err none)` reported to the caller when the contract aborts, whether triggered by `unwrap-panic` or a failure such as an...

The `slice` function in development for Stacks 2.1 does not adequately infer the length of the resulting sub-sequence, but instead assigns it to have the same max length as the...

Issue #17 reports an incompatibility with nodejs where loading fails due to missing DOM bindings. I have resolved this issue by replacing`js/Node` with `goog.dom/NodeType` and made `js/NodeList` optional, which eliminates...

The ATTRIBUTE_NODE constant has been [deprecated](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType) in [DOM4](https://www.w3.org/TR/dom/). It should no longer be assumed that an attribute has a `nodeType`. The changes to the Attribute interface is initially particularly relevant...

type: bug
status: dubious
category: parsing

Both `hickory.core/as-hiccup` and `hickory.core/as-hickory` use DOM's [wholeText](https://www.w3.org/TR/dom/#dom-text-wholetext) property to extract the text value of a dom node. However, instead of just returning the text content of a node, this property...