Skip to content

Documentation: We need better docs for how to debug changes locally for this library  #5596

Open
@joncodo

Description

Problem: I want to make changes to this library and use them in my application.

Steps to reproduce:

  1. Fork and clone Lexical to a folder called lexical-npm-library
  2. cd lexical-npm-library
  3. Then make a new react app called 'web-app`
  4. Then make changes to the code in lexical. Change all instances of Export DOM to Export Foo for the UI button
  5. See the changes reflected in the application

Actual: You don't see the changes

Things I have tried:

  1. Use npm link
  • npm link in the packages/lexical directory
  • npm link lexical in the web-app
    NOTE: this works for updating the core but I want to update the react module.

Question: How are your internal devs debugging module development locally so I can contribute to this repo?

Thanks in advance!

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementImprovement over existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions