question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warnings from nested actions

See original GitHub issue

I have following structure in HTML with two nested controllers (simplified):

<body data-controller="size-publisher">
   <div data-controller="read-more">
      <a data-action="click->read-more#revealMore">more...</a>
   </div>
</body>

With 3.0.0.-beta1 I am getting following warnings:

image

Later event dispatching work as expected. Looking into code I had feeling that it is connected to this code (no sure where this is located since I use skypack CDN)

parseValueForToken(token) {
  const action = Action.forToken(token);
  if (action.identifier == this.identifier) {
    return action;
  }
}

click->read-more#revealMore is tried to be matched to size-publisher but this fails and new warning code kicks in.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
dhhcommented, Sep 23, 2021

We’re going to revert the warnings system for now. Needs some more time in the oven.

4reactions
marcorothcommented, Sep 13, 2021

I will take a look, thanks for the heads up!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning for nested links - reactjs - Stack Overflow
I have a CardActionArea component with a Menu component nested. ... click the Card header and also open a pop up Menu to...
Read more >
Access of shared member through an instance; qualifying ...
This warning can also occur if an instance variable is used to access an implicitly shared member of a class or structure, such...
Read more >
Connecting Warning with Decision and Action - Springer Link
Firstly we show how people respond to warnings and how the nature and ... If it is determined that multiple actions need to...
Read more >
Add multiple Warning and Violation Actions and modify the ...
Salesforce at present provides the ability to create only one Warning and Violation Actions under a #Milestone for an #Entitlement Process.
Read more >
How to close performance warnings | OutSystems
Hi Vinith,. When developer tries to call multiple server actions in a single client action then in background each time a Server Action...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found