Can not hyperclick with React fragments syntax
See original GitHub issueNot sure if this is related to js-hyperclick.
Using React’s <>foo</>
syntax seems to break hyperclick.
Works here:
Can not hyperclick using the <> syntax:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
eslint-plugin-react/README.md at master
21.0 , eslint announced a new config system. In the new system, .eslintrc* is no longer used. eslint.config.js would be the default config...
Read more >eslint-plugin-react
However, this is not recommended, and any plugins or shareable ... in your eslint config (add "plugin:react/jsx-runtime" to "extends" ) to ...
Read more >javascript - onPress change fragment view
I am using react-native and i have a NavigationDrawer.When i press ListItem i change the page. What i want to do now is...
Read more >eslint-plugin-react
React specific linting rules for ESLint. eslint, eslint-plugin, eslintplugin, ... npm install eslint eslint-plugin-react --save-dev. It is also possible to ...
Read more >'text' cannot be used as a jsx component.
You can use fragments to package an array of elements as a single element, by using the fragment as ... cannot be used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just published 1.14.1 to include an option to turn on debugging. Run
localStorage.debug="js-hyperclick*"
in the console to turn it on andlocalStorage.debug=""
to turn it off. Here is what it looks like in my console.Thanks for the report. Right now
js-hyperclick
is using babel@6, and it looks like in order to get the new syntax I need to upgrade to babel@7. I’m not sure when/if I will have time to upgrade that as it does include breaking changes.