-
**问题描述**
> `remax/macro` 下包含的是基于 `babel-plugin-macros` 的宏。
对于 remax 用户来讲,这属于实现层面的东西,似乎不应当反映到用户接口上。
用户使用 `useQuery`、`usePageInstance` 及 `usePageEvent` 的时候,还要思考哪些来自 `remax`,哪些 `remax/macro`,很不应…
arniu updated
3 years ago
-
It may be a follow up of #7
I'm getting a build-time error when trying to use this plugin in a storybook without success.
The plugin works well with CRA (using `v1`):
```
// @ babel-plugin-…
-
## Bug Report
- [ ] I would like to work on a fix!
**Current Behavior**
When running babel with typescript, `babel . -d lib --extensions '.ts,.tsx'`, it throw an exception with
```
T…
1zg12 updated
4 years ago
-
Hey @bradlc ,
I just made a react starter with this lib. I was struggling integrating this with `create-react-app` previously.
Do you think it would be a good idea putting [react-tailwind-emotion…
-
After installing `babel-plugin-styled-components` package in a React Native project, and having `plugins: ['babel-plugin-styled-components'],` in the Babel config, the `css` prop still does not work.
…
-
Small example:
`src/mytypes.ts`:
```
import createValidator, { createDetailedValidator, registerType } from "typecheck.macro";
export type ProjectLayerConfig = {
layers: Array;
};
regis…
-
I cloned this repository and just run issue-tracker app, then I got error message:
```
[react-scripts] There was an error trying to load the config "relay" for the macro imported from "babel-plugin-…
-
So I'd like to request adding a babel plugin macro to automatically set the display name of the component. Optionally you it can also add a data attribute to include the module name in the rendered do…
rsimp updated
3 years ago
-
Everything works when running the Storybook instance locally (and in fact when deploying to Github pages), but I am getting an error during the Storybook build process on Netlify:
```
Module not f…
-
I can't seem to get Bit working with `twin.macro`.
Basically the problem is it thinks this `styled` import doesn't exist:
```ts
import tw, { styled } from "twin.macro";
const Container = sty…