Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

babel-plugin-server: non-identifier expression as JSX element name #75

Open
shuhei opened this issue Apr 12, 2017 · 0 comments
Open

babel-plugin-server: non-identifier expression as JSX element name #75

shuhei opened this issue Apr 12, 2017 · 0 comments

Comments

@shuhei
Copy link

shuhei commented Apr 12, 2017

babel-plugin-server prerenders <undefined><undefined> given a non-identifier expression as JSX element name.

A minimum test case:

$ echo '<Foo.Bar />;' | ./node_modules/.bin/babel --plugins ./src/transform/server
({
  __prerendered__: "dom",
  segments: ["<undefined", 1, "></undefined>"]
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant