Pixilab
Home › Companies › Show HN launch › A better way of writing HTML via JavaScript?

A better way of writing HTML via JavaScript?

Show HN: A better way of writing HTML via JavaScript?

A better way of writing HTML via JavaScript? is a business in show hn launch based in European Union (EU), Europe, Middle East, and Africa (EMEA), founded in 2009.

Profile

Although I've been using React for at least 5 years now, I don't quite like frameworks. For personal projects I sometimes use web component but they can be over kill depending on what you are trying to achieve. I do like JSX though. I think it's quite neat to be able to write HTML inside of JavaScript code. With that in mind, I've been trying to come up with a way to better create HTML dynamically.Something along the lines of: const req = await fetch('api.com/posts') const data = await req.json() for (const d of data) createPost(d) For that, I end up writing this piece of code const assignDeep = (elm, props) => Object.entries(props).forEach(([key, value]) => typeof value === 'object' ? assig

A better way of writing HTML via JavaScript? is positioned in show hn launch, a segment that rewards a clear, focused offering.

European Union (EU), Europe, Middle East, and Africa (EMEA) is where the company is located.

The company is listed at the Show HN launch stage of development.

Its team size is recorded as c_00001_00010 employees.

SectorShow HN launch
HeadquartersEuropean Union (EU), Europe, Middle East, and Africa (EMEA)
Founded2009
Employeesc_00001_00010
StageShow HN launch

Website: jsfiddle.net/victorqribeiro/5cketz40/I

Browse related

Sign in to view the contact information we hold for A better way of writing HTML via JavaScript?.
Create a free account