Changelog
Every published release of @axonpack/react-native-devtools-tab, newest first.
Every published release, newest first. The current version is 0.1.2.
0.1.3
- Docs on axonpack.dev: the links in the DevTools tab and the npm homepage go to axonpack.dev
0.1.2
-
Accents and emoji in a tab's fields: text typed into a field that holds an é or an emoji is no longer lost
-
Open DevTools on your tab:
registerTabreturnsfocus(), and the next DevTools window lands on that tab -
Switch an open window to your tab:
focus()also brings the tab forward in a window that is already open -
Copy to the computer's clipboard: give an element
COPY_ATTRIBUTEwith the text, and a click copies it there instead of on the device -
Your own right-click menu: a tab that handles a right-click no longer gets the browser's menu on top of it
-
A clearer about card: hover the mark by a tab's name for what it is and links to the docs, changelog, other libraries and GitHub
0.1.0
- Your own tab in React Native DevTools, beside Console and Sources, from one call to
registerTab - A tab is a React component you write, with hooks, effects and anything it composes
- It runs inside the app, so it reads the app's own state and a button in it calls the app's own functions
- No copy to keep in sync: subscribe to a store and the tab redraws the moment that store changes
- Write the tab in React Native or in HTML, whichever suits it, both drawn by the panel
- Name and symbol per tab, and as many tabs as you register
- A bar above every tab with its name and a button that draws it again
- One line in the Metro config is the whole setup, with no fork of the DevTools frontend, no browser extension and no second window
- Nothing ships to production: guard the registrations with
__DEV__and a release bundle carries none of it