question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Both className and class attributes created.

See original GitHub issue

There is classname and class attributes at the created DOM nodes.

2017-02-13-00 08 36_1280x1024_scrot

Kinda feel that i faced that while decoupling the dom diffing and fixed it but cant remember how and where it was and where the codes are. (just did kinda dozen rewrites of few things in a couple of folders; wrote 3-4 new packages that i am lazy to write tests and docs, haha. i’m totally 🤒 👿 💢)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:39 (37 by maintainers)

github_iconTop GitHub Comments

4reactions
ngrymancommented, Mar 9, 2017

@jbucaran Good idea. Haha I’m not against jsx but in the quest of a minimal setup with es6 native solutions ⚔️

1reaction
ngrymancommented, Mar 10, 2017

PR has been merged and starting from hyperx 2.2.0 you can now disable this:

const { h, app } = require("hyperapp")
const hyperx = require("hyperx")
const html = hyperx(h, { attrToProp: false })
Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML class Attribute - W3Schools
The HTML class attribute is used to specify a class for an HTML element. Multiple HTML elements can share the same class.
Read more >
2. Class vs. Instance Attributes | OOP | python-course.eu
Class attributes are attributes which are owned by the class itself. They will be shared by all the instances of the class. Therefore...
Read more >
Python Class Attributes: An Overly Thorough Guide - Toptal
Python class attributes can lead to elegant code—as well as bugs. This guide outlines use cases for attributes, properties, variables, objects, and more....
Read more >
Why React uses className over class attribute
Explanation: The only reason behind the fact that it uses className over class is that the class is a reserved keyword in JavaScript...
Read more >
Class Attributes vs Instance Attributes in Python
Class attributes are the variables defined directly in the class that are shared by all objects of the class. Instance attributes are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found