Comments (3)
Hi @rvision ,
Yes, I didn't work on conditional rendering when writing Talkr. I've done a first fix in #17 . It works thanks to a single useT()
hook that export a function T
.
However, I'm afraid it will break the autocompletion, so I must do more tests. By the way, when you think something can be improved, feel free to send a pr ;).
from talkr.
Yes, IMHO #17 looks much better, thanks.
I am no expert in TS and github collaboration flow, so I can't help you much except for written suggestions, sorry.
Is there any chance to get rid of hooks dependency so this can be used in redux-saga for example? I've seen some discussion about this but didn't figure out what's planned.
I like the library because it's small and does what is it intented to do. I've chosen it because all other packages are way too big or have bunch of dependencies.
from talkr.
Hi, is the new version working fine for you? I've also rewritten all the documentation and made a website: https://talkr-documentation.netlify.app/ if needed.
from talkr.
Related Issues (11)
- Feature: Autocomplete json file keys HOT 1
- Any chance of supporting arrays in translation files? HOT 1
- Translation helper for talkr HOT 3
- The hook should also expose the `tr` function for the current context. HOT 5
- In SSR navigator is not defined HOT 11
- warning as an option HOT 1
- detectBrowserLanguage is assigning not supported values HOT 1
- Missing translations warning HOT 5
- setLocale doesn't trigger change HOT 8
- React has detected a change in the order of Hooks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talkr.