(new-react) Remove the script tag mount & JSON
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
Description
In our new react implementation. For every component to be mounted we mount 2 elements
- A script Tag
- A div container where the actual mount happens.
The script Tag's purpose is to continuously be dumping a JSON of the updated state being managed on the phoenix side. We're currently comfortable with syncing the state via other means(events on the socket) and this has to be removed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the new React implementation's component-mount entry point and the code that creates the script tag and serializes updated Phoenix state as JSON. Confirm how socket events now provide state synchronization. Done means each component mounts with only its div container, with no script tag or JSON state output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, react
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100