We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9e422 commit 95c8722Copy full SHA for 95c8722
1 file changed
src/BloomBrowserUI/AGENTS.md
@@ -21,6 +21,9 @@ When working in the front-end, cd to src/BloomBrowserUI
21
- Avoid removing existing comments.
22
- Avoid adding a comment like "// add this line".
23
24
+- For functions, prefer typescript "function" syntax over const foo = () ==> functions.
25
+- When writing less, use new css features supported by our current version of webview2. E.g. "is()".
26
+
27
- Style elements using the css macro from @emotion/react directly on the element being styled, using the css prop. E.g. `<div css={css`color:red`}>`
28
29
- We rarely use `null` in typescript, preferring `undefined` for values that have not been set. E.g.
0 commit comments