Datentyp

Results 7 comments of Datentyp

Solved by ```javascript const useStyles = createUseStyles({ myButton: { color: 'green', margin: { // jss-plugin-expand gives more readable syntax top: 5, // jss-plugin-default-unit makes this 5px right: 0, bottom: 0,...

They did not know it was impossible so they did it https://styled-components.com/docs/tooling

```javascript module.exports = transform; var pathMod = require('path') function transform (babel) { return { visitor: { ClassDeclaration: function (path, state) { if (classHasRenderMethod(path)) { setDisplayNameAfter(path, path.node.id, babel.types) } }, FunctionDeclaration:...

Reads like https://pasteboard.co/Jqif3TEc.png

Currently the displayname is hardcoded prefixed with 'JSS_' Test it from here https://github.com/Chartieer/babel-plugin-react-jss Don´t forget to add the impossible default value. ;-) There is also a Pull request for the...

I commened on you medium post. I got it up and running.

´changes: apps/frontend1/src/main.tsx ```javascript import React from 'react'; import ReactDOM from 'react-dom'; import { defineCustomElements } from 'ui-components/loader'; import App from './app/app'; ReactDOM.render(, document.getElementById('root')); defineCustomElements(window); ``` And in workspace.json und ui-components...