Skip to content

Conversation

@ash-t-luu
Copy link
Contributor

Overview

Issue Type

  • [] Bug
  • Feature
  • Tech Debt

Description
Moved 'grabFile' function to parser.js and created 'traverseAST' function to traverse through the given file. Along with 'traverseAST', added conditional functionality to check if node is a client component based on hook usage and 'use client' directive.

FL's contribution for making the 'grabFile' functionality from pulling from his branch.

Previous behavior
We had 'grabFile' function in the panel.js and no function to begin traversing the file.

Expected behavior
We now have functionality to see console logs of conditional checking and the AST's nodes information to extract from.

Copy link
Contributor

@Johnny-Arroyo Johnny-Arroyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Louka3 Louka3 merged commit e8f27f4 into dev Nov 25, 2023
@ash-t-luu ash-t-luu changed the title Al/client conditionals AL-FL/client conditionals Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants