Skip to content

Convert createRoot to createPortal#5

Open
uzegonemad wants to merge 3 commits intoDataTables:masterfrom
uzegonemad:hotfix/portal
Open

Convert createRoot to createPortal#5
uzegonemad wants to merge 3 commits intoDataTables:masterfrom
uzegonemad:hotfix/portal

Conversation

@uzegonemad
Copy link
Copy Markdown
Contributor

This PR converts usage of createRoot to createPortal. This closes #4.

I tested this with a few different datatables. In slotRenderer, there was a previous comment about not caching orthogonal data, but everything worked fine in my testing. Please take a decent look at this to be safe.

(Feel free to edit as you see fit, as well.)

@AllanJard
Copy link
Copy Markdown
Contributor

Many thanks for PR! I'll try to review it next week (neck deep in some other stuff, so it might take a week or two, but I'll try to get to it soon!).

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.

Consider using createPortal instead of createRoot

2 participants